Copyright ©

Mongoose OS Forum


Convert image to DIF?

On the lib for the ILI9341 it says to use DIF (dumb image format) for images ( ... as well as the Huzzah Featherwing App ( ) ... but I can't seem to find or figure out any easy way to convert images to a DIF format.

Is there some online converter or easy way to convert images to DIF to use in projects? I can't find any other information online regarding this ... please help!


  • tripflextripflex Orlando, FL
    edited April 2018

    Awesome, thank you very much!! Not sure how I missed that being in the top of the repo, but I do appreciate the help!

    Are there any examples available on how to use this correctly?

    From what I found, looks like just need to clone the repo, cd into contrib/png2dif, then run make then copy output png2dif to /usr/local/bin

    cli is png2dif -i input.png -o output.dif

    One thing to mention to others who may see this, it seems that in order to convert a png image, it can't be a transparent png

Sign In or Register to comment.