[magick-users] Swapping U/V planes in YUV input format

Anthony Thyssen A.Thyssen at griffith.edu.au
Mon Jun 15 20:17:11 PDT 2009


On Mon, 15 Jun 2009 11:22:30 -0400
John Koleszar <john.koleszar at on2.com> wrote:

| Hi,
| 
| I do a lot of work with raw YUV planar images, and the imagemagick suite
| works great. I'm trying to find an option that would swap the chroma
| planes when reading the file. ie, I have files that have the planes in
| YVU (YV12) order, and would like to display/convert them with IM as I do
| with YUV (I420) data. Any pointers?
| 
  -colorspace YUV  -separate +swap -combine

and your image will be in YVU space!


  Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
 -----------------------------------------------------------------------------
  My religious faith is a private matter bettween me and my God.
                           -- Robert A. Heinlein  "If this Goes On..."
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/


More information about the Magick-users mailing list