pmeerw's blog

Thu, 21 Jun 2012

Converting YUV to RGB with ImageMagick

Note to myself: convert -depth 8 -size 1280x1024 -sampling-factor 4:2:2 yuv:frame.bin -colorspace rgb frame.png

Calls ImageMagick's convert; frame.bin (2621440 Bytes) is in UYVY format, result is a PNG image.

Taken with a Leopard Imaging LI-LBCM1M1 camera board with Aptina MT9M112 sensor (1.3 MPixel, 1280x1024), click to enlarge.

posted at: 17:09 | path: /programming | permanent link

Made with PyBlosxom