Skip to content

Python tool to convert images to C header files or bitmaps compatible with Gfx library used with paperd.ink

License

Notifications You must be signed in to change notification settings

paperdink/image_converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image converter tool

Requirements

Usage

usage: img_conv.py [-h] --dev b --path p [--dither d] [--diffusion f]

Generate images to display on paperd.ink

options:
  -h, --help     show this help message and exit
  --dev b        paperd.ink device
  --path p       path of the image file
  --dither d     dither setting to use [FloydSteinberg (default), Riemersma, None]
  --diffusion f  diffusion percentage [0 to 100, default=85]

A higer diffusion amount creates dotty images while a lower value loses details.

Set dither to 'None' to get sharper images.

About

Python tool to convert images to C header files or bitmaps compatible with Gfx library used with paperd.ink

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages