Converting to RGB565 formats
Posted: 2009-08-10T03:57:23-07:00
Dear Everyone,
Imagemagick is great. I use it as a tilemap tool for 2D Pocket pc Games. However, I haven't found how to convert 32bit .png file into 16bit (RGB565) file using iMagick++. This newly generated file can be .png, bmp, jpg..
the parameter -depth 16 generates each Red, Green, Blue to be 16 bit long therefore it is not what I look for. I look for Red=5, Green = 6, Blue=5 bytes.
Thank you.
Imagemagick is great. I use it as a tilemap tool for 2D Pocket pc Games. However, I haven't found how to convert 32bit .png file into 16bit (RGB565) file using iMagick++. This newly generated file can be .png, bmp, jpg..
the parameter -depth 16 generates each Red, Green, Blue to be 16 bit long therefore it is not what I look for. I look for Red=5, Green = 6, Blue=5 bytes.
Thank you.