Search found 3 matches

by kometes77
2013-11-26T02:28:29-07:00
Forum: Magick++
Topic: How to convert Magick::Image to YUV 4:2:0 format?
Replies: 4
Views: 14085

Re: How to convert Magick::Image to YUV 4:2:0 format?

If I save like the below codes with the default parameter. Magick::Image image; image.read(src_width, src_height, "RGB", Magick::CharPixel, (char *) pPixelData ); image.write("/home/myid/output.jpg"); If I just save image without any change. what is the default for chroma option?...
by kometes77
2013-11-25T20:54:23-07:00
Forum: Magick++
Topic: How to convert Magick::Image to YUV 4:2:0 format?
Replies: 4
Views: 14085

Re: How to convert Magick::Image to YUV 4:2:0 format?

dlemstra, thank you very much.
It works well.
by kometes77
2013-11-25T05:13:22-07:00
Forum: Magick++
Topic: How to convert Magick::Image to YUV 4:2:0 format?
Replies: 4
Views: 14085

How to convert Magick::Image to YUV 4:2:0 format?

I converted a image with the below ImageMagick command line option. $convert input_image.jpg -sampling-factor 4:2:0 output_image.jpg I used ImageMagick/bin/convert and Now, I want to implement it with Magick++. I have a Magick::Image instance which read the pixel values with .read() method. I'd like...