Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

197 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

2im (twim) is an image format designed for extremely-low BPP (bits-per-pixels) range. Name of format hints that a single Twitter message (140 CJK characters, worth at least 287 bytes of payload) is enough to transfer an image.

Unlike SQIP (primitive), output is not directly understood by browser. A tiny (1089 bytes, if compressed) JavaScript decoder is used to rasterize input to ImageData.

See also: interactive demo page and twim vs SQIP comparison.

Coming soon

  • add build / use manual
  • better CLI (set number of therads, "fast" encoding mode)
  • publish decoder as NPM module
  • publish encoder module
  • synchronize Java and C++ implementations

About

Image preview format

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages