
24 Oct
2011
24 Oct
'11
10:53 a.m.
On 24/10/11 20:57, cory seligman wrote:
Hi all,
I have an little microcontroller and LCD that can display windows bmp files, but it only seems to work with the ones provided.
When I create a bmp file with the same basic resolution, colour depth etc, it fails to display.
Does anyone know of a way to convert an image to bmp format having the same characteristics as a reference image?
I'm sure I could work it out for this specific case, but it would be handy thing to be able to do in general.
anyone?
Do the images that work still work if you do bmptoppm <orig.file | ppmtobmp >new.file? Note that you may need to alter the bits per pixel to suit the microcontroller. Use pnmquant or ppmdither to reduce the number of colors in the image.