Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

Convert image to DIF?

tripflextripflex Orlando, FL

On the lib for the ILI9341 it says to use DIF (dumb image format) for images (https://github.com/mongoose-os-libs/ili9341-spi) ... as well as the Huzzah Featherwing App ( https://github.com/mongoose-os-apps/huzzah-featherwing ) ... 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!

Comments

  • tripflextripflex Orlando, FL
    edited April 8

    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.