Skip to content

fel88/pdf2eink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdf2eink

convert pdf/djvu -> .cb (customized book)

Custom book format

CB is a simple WYSIWYG image based format for e-books

Offset Size (bytes) Description
0x00 2 'CB' Signature
0x02 1 Format type
0x03 1 Flags (0- without TOC, 1 - with TOC)
0x04 4 Pages qty
0x08 2 Width
0x0A 2 Height
0x0C variable. Pages x Width x Height / 8 Monochrome pages image data

You can read CB book using TurtleBook (https://github.com/fel88/TurtleBook)

Boustrophedon mode (mirror read)

You can also convert .cb book to the mirror mode

This can save you about 10% of the reading time, because in this case you don't need to make any saccades with your eyes.

https://en.wikipedia.org/wiki/Saccade

https://en.wikipedia.org/wiki/Boustrophedon

MSS-Boustrophedon-Example

References

Dithering code from here: https://github.com/cyotek/Dithering

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages