display YUV Image

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
resatee
Posts: 2
Joined: 2015-11-05T07:46:24-07:00
Authentication code: 1151

display YUV Image

Post by resatee »

Hi all,

When I try to Display a YUV-Image with ImageMagick, using this line:

display -size 1920x1080 -depth 10 -sampling-factor 4:2:2 -interlace plane -colorspace YUV input.yuv

i get an Image with the wrong colours. But when I use the same line with colorspace RGB it displays my Image perfect.

My question is, why are my YUV- Images only displayed correct when I use the RGB- colorspace?

Best regards.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: display YUV Image

Post by snibgo »

Your computer monitor is an RGB device, and expects that the values sent to it represent red, green and blue.
snibgo's IM pages: im.snibgo.com
resatee
Posts: 2
Joined: 2015-11-05T07:46:24-07:00
Authentication code: 1151

Re: display YUV Image

Post by resatee »

Ok, thank you :D
Post Reply