Magick++ reading Blob YUV 4:2:2 into an Image
Posted: 2007-04-01T19:44:51-07:00
Hi,
I am trying to read a Blob in YUV 4:2:2 format into an Image instance as follows:
image.read(blob, geo, "YUV4:2:2");
(function signature: const Blob &blob_, const Geometry &size, const string &magick_)
I get though the following error:
----------------------
terminate called after throwing an instance of 'Magick::WarningOption'
what(): ImageMagick: Unrecognized image format (YUV4:2:2)
---------------------
Trying to use "YUV" instead of "YUV4:2:2" results in a (different) error. However, trying
Image image(blob, geo, "YUV4:2:2");
works great. Trying to specify the magick_ argument with the Image::magick function yields an error as well.
How should I specify the magick_ argument for the Image::read function? Is it on purpose that the constructor and the read functions behave differently on the same magick_ string?
Version: ImageMagick 6.3.2 03/04/07 Q16
OS: GNU/Linux, FC 6.
Thanks,
Firas.
I am trying to read a Blob in YUV 4:2:2 format into an Image instance as follows:
image.read(blob, geo, "YUV4:2:2");
(function signature: const Blob &blob_, const Geometry &size, const string &magick_)
I get though the following error:
----------------------
terminate called after throwing an instance of 'Magick::WarningOption'
what(): ImageMagick: Unrecognized image format (YUV4:2:2)
---------------------
Trying to use "YUV" instead of "YUV4:2:2" results in a (different) error. However, trying
Image image(blob, geo, "YUV4:2:2");
works great. Trying to specify the magick_ argument with the Image::magick function yields an error as well.
How should I specify the magick_ argument for the Image::read function? Is it on purpose that the constructor and the read functions behave differently on the same magick_ string?
Version: ImageMagick 6.3.2 03/04/07 Q16
OS: GNU/Linux, FC 6.
Thanks,
Firas.