raw rgba pixel data
Posted: 2011-03-26T22:36:49-07:00
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:
but need to do this with imagick/magickwand and php, preferably without saving it.
thanks in advance
Hosh
Code: Select all
convert -size 128x128 -depth 8 tmp.rgba output.png
thanks in advance
Hosh