Hi,
I was looking for Imagick tutorials but could not find any. I'm experienced in PHP, I'm not sure about specific flags and setting in Imagick.
I want to write single color (every pixel in the image has the same color) 10-bit DPX files, example:
file format: DPX
frame size: 1920x1080
bit depth: 10-bit
color for this frame: 0/0/1023 - this is 100% blue in 10-bit R|G|B
what would be the Imagick code to write this ? Any settings that I'm missing ?
Thank you.
Writing Single Color DPX Files Using Imagick on PHP
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Writing Single Color DPX Files Using Imagick on PHP
Sorry, I do not use Imagick. Best I can suggest is looking at http://us3.php.net/manual/en/book.imagick.php
Note you could also use an Imagemagick command line in PHP exec() to do the processing.
Note you could also use an Imagemagick command line in PHP exec() to do the processing.
Re: Writing Single Color DPX Files Using Imagick on PHP
thanks for the link, I'm aware of the PHP manual...
I am not sure though how to specify RGB color values for pixels... all I see is peeps reading in other images that they are then transforming...
I need to create an image from scratch... how would I do that ?
I am not sure though how to specify RGB color values for pixels... all I see is peeps reading in other images that they are then transforming...
I need to create an image from scratch... how would I do that ?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Writing Single Color DPX Files Using Imagick on PHP
Sorry, that is not my area of expertise. But perhaps this will help -- http://www.imagemagick.org/Usage/formats/#rgb