I am using ImageMagick to convert my images to .pnm format using
Code: Select all
magick convert input.png -colors 65536 output.pnmand then used a utility given by TI named pnmtoc. this utility can convert .pnm file to .c file. The problem is that I am getting two different color depths in c file for different images. I want to get 16bpp color depth for both images.
One of the image output is 16bpp but for other i am getting 8bpp. I am using same command and same utility for both images but i dont understand why I am getting 8bpp for a certain image.
I think there is difference between two image but didn't get what is it. and how I can get 16bpp for both images?
Thanks