I have an ITDB02(ITDB24) Color LCD shield with SDCard. I want to convert my JPEGS (or Nikon NEF RAW image format) to the RAW Image format used in the example found in the UTFT_tinyFAT Library example.
Can anyone guide me on how to get my images in this format?
I have an ITDB02(ITDB24) Color LCD shield with SDCard. I want to convert my JPEGS (or Nikon NEF RAW image format) to the RAW Image format used in the example found in the UTFT_tinyFAT Library example.
Can anyone guide me on how to get my images in this format?
Thanks in advance
I suspect you don't have enough memory in the Arduinos to handle a full RAW conversion. If you want to learn about the various RAW formats out there, you might look at dcraw, which tries to convert just about any RAW format to a standard format (JPEG or PPM). You would then have to do this in reverse to create a RAW file from a JPEG file. http://www.cybercom.net/~dcoffin/dcraw/
Thanks will have a look, hopefully dcraw will work.
I'm not trying to convert to raw on the micro, the images are relatively small (225KB), as you said may still be large in anycase, so I get funny images/colours showing up on the screen instead of the proper image like the example raw files that the UTFT Library comes with.
because i think the format used by the library is RAW.
Are you sure?
Because all the shields I have used are bmp. Nowadays RAW is a format used in high res digital cameras, you are not mixing that up with a bit map format are you?
For sure, I agree with the RAW image being for High Res Cameras, however for some reason the example sketch for my LCD Shield uses files with .raw extension.
I have the TFT LCD shield from nuelectronics mentioned in the library link. I adjust the size to 320 by 240 and save it as a bmp format and it works. Try changing the file extension to raw and see what happens.