raw rgba pixel data

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
superaktieboy
Posts: 1
Joined: 2011-03-26T22:32:03-07:00
Authentication code: 8675308

raw rgba pixel data

Post by superaktieboy »

I have a string of raw RGBA pixel data. How can I convert and save this? I was able to do by saving it first to .rgba and using the command:

Code: Select all

convert -size 128x128 -depth 8 tmp.rgba output.png
but need to do this with imagick/magickwand and php, preferably without saving it.

thanks in advance

Hosh
Post Reply