I am trying to create a new GUI for LDv3 using Gtlcpimp's drawing functions. However when I use bmp2c to convert a bitmap to a c array, the image loads up black and white with two identical images in different positions. It seems Gltcpimp made LDv3's GUI with jpeg images.
Since I am not experienced with anything related to image files, could someone please point me to or create a JPEG to c array program/script? I would prefer if it was in the same format as bmp2c's outputs. Thanks.
EDIT:
Problem solved; I wrote a program, with some help from ORCXodus, that loads any image into a picture box and then grabs each pixel from the PBox and makes an array from it. The reason it is called "640x480 to C" is because that is the only image size supported right now. I may update it to make any image of any size compatible.
Since I am not experienced with anything related to image files, could someone please point me to or create a JPEG to c array program/script? I would prefer if it was in the same format as bmp2c's outputs. Thanks.
EDIT:
Problem solved; I wrote a program, with some help from ORCXodus, that loads any image into a picture box and then grabs each pixel from the PBox and makes an array from it. The reason it is called "640x480 to C" is because that is the only image size supported right now. I may update it to make any image of any size compatible.
Let us know when you've fine-tuned the app for release.
Comment