How to create RAW Image for ITDB24/ITDB02 LCD Shield

Hi All,

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 :)

kr33: Hi All,

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.

Ok, so i've tested DCRAW, but the output format is either PPM or TIFF.

How do I display this on my TFT LCD Shield? because i think the format used by the library is RAW.

Thanks in advance

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.

Here's a link to the LCD Shield I have: http://imall.iteadstudio.com/display/tft-lcm/im120419004.html

Library: http://henningkarlsen.com/electronics/library.php?id=51

Maybe I missed something?

OK, I found the tool used for the examples the convert images to raw format usable by the library Here it is: http://www.henningkarlsen.com/electronics/t_imageconverter565.php

It's web-based, but would be nice to have an actual app to do the conversion

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.

Interesting, i will do just that. Thanks, will let you know how it turns out :D