Converting to RGB565 formats

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
Bunkai
Posts: 22
Joined: 2007-01-15T07:37:59-07:00

Converting to RGB565 formats

Post by Bunkai »

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. 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.
Post Reply