![]()
Then you need to copy the result C file to you project and use it with an Image obejct. Just upload it to the Online Image Converter tool which creates a C array from a BMP, JPG or PNG image. Once you have a dithered image you can use it LittlevGL as other images. Here is an example to see the difference between the original, non-dithered and dithered images: ![]() It is useful if you have a high DPI monochrome display. You can use GIMP to create black and white dithered image too by selecting Image->Mode->Indexed and Use black and white color palette as Colormap and Floyed-Steinber as Color Dithering. GIMP COLOR PALETTE FROM IMAGE WITHOUT AVERAGING HOW TOTo use it, in a terminal type: convert image_in.jpg -ordered-dither o8x8,32,64,32 image_out.jpg How to dither an image to 1 bit (black and white)? It knows a lot of algorithms manipulates you image. is very complex and versatile a command line tool. To make dithering open GIMP and click Image->Mode->Dither to RGB565 and save the new image. gpl) file to the palette directory of GIMP (On Linux: /home/user/.gimp-/palettes)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |