Search found 8 matches

by abeckers
2011-02-09T00:19:28-07:00
Forum: MagickWand
Topic: Convert YUV2 to JPEG
Replies: 11
Views: 42746

Re: Convert YUV2 to JPEG

Thanks for the information. I will test the new version!
by abeckers
2011-02-08T07:59:34-07:00
Forum: MagickWand
Topic: Convert YUV2 to JPEG
Replies: 11
Views: 42746

Re: Convert YUV2 to JPEG

When i use :
convert -size 768x288 -sampling-factor 4:2:2 yuv:d:\testpic.yuv -colorspace rgb png:d:\testpic.png

the png image is green, such as the jpg with the same command:
convert -size 768x288 -sampling-factor 4:2:2 yuv:d:\testpic.yuv jpg:d:\testpic.jpg
by abeckers
2011-02-08T07:55:27-07:00
Forum: MagickWand
Topic: Convert YUV2 to JPEG
Replies: 11
Views: 42746

Re: Convert YUV2 to JPEG

magick wrote:Is there a standard for 16-bit YUV? Is 16-bit YUV in MSB or LSB word order or is support for both orders required (with -endian option)?

Look for a patch in ImageMagick 6.6.7-7 Beta by this weekend to support 16-bit YUV 4:2:2 and YUV 4:1:1.
is there any compiled binary beta release for windows?
by abeckers
2011-02-08T07:51:41-07:00
Forum: MagickWand
Topic: Convert YUV2 to JPEG
Replies: 11
Views: 42746

Re: Convert YUV2 to JPEG

ImageMagick can't read the image at all. Try convert -size 768x288 testpic.yuv -colorspace rgb testpic.png It returns an exception. Is this image 8 or 16-bits per pixel? If its 16, we'll need to add a patch to the YUV coder to support it. The answer is: Magick: unexpected end-of-file `d:\testpic ...
by abeckers
2011-02-08T07:47:43-07:00
Forum: MagickWand
Topic: Convert YUV2 to JPEG
Replies: 11
Views: 42746

Re: Convert YUV2 to JPEG

it is 16 bits per pixel
by abeckers
2011-02-08T07:30:47-07:00
Forum: MagickWand
Topic: Convert YUV2 to JPEG
Replies: 11
Views: 42746

Re: Convert YUV2 to JPEG

Here ist my testimage:
http://www.abeckers.de/testpic.yuv

If i use a tool such as YUVTools, i can load the image an see it correct with the following setup:
YUYV , YUV422, Progressive, Packed
by abeckers
2011-02-08T07:27:24-07:00
Forum: MagickWand
Topic: Convert YUV2 to JPEG
Replies: 11
Views: 42746

Re: Convert YUV2 to JPEG

No the YUV is 422. When i use MagickSetSamplingFactors with 411 the function MagickReadImageBlob has an exception.
Can i upload the testimage here?
by abeckers
2011-02-08T07:02:29-07:00
Forum: MagickWand
Topic: Convert YUV2 to JPEG
Replies: 11
Views: 42746

Convert YUV2 to JPEG

Hello together, i have a problem to convert a yuv2 file to jpeg with the magicwand api. Ich want to convert the image but the result is always wrong. The color or brightness is wrong. In my opinion, the image has YUV2 Format knows as YUYV. When ich convert the image first witrh a c function to rgb ...