Converting obscure 10 bit YUYV TIFF file?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Locked
silicontrip
Posts: 1
Joined: 2019-07-18T07:45:44-07:00
Authentication code: 1152

Converting obscure 10 bit YUYV TIFF file?

Post by silicontrip »

I have received a Tiff file from video capture device. Photoshop and friends only recognise it as a 16 bit grayscale image, yet it is in fact a 10bit YUYV (422) image.

I had to convert it to an uncompressed tiff file (from LZW) and then wrote some custom python to convert it to an 8bit JPEG.

Is there a way to convert this with imagemagick?

Thanks
Mark

snibgo
Posts: 13034
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Converting obscure 10 bit YUYV TIFF file?

Post by snibgo »

Probably.

If you link to a sample input, and post your custom python code, you might get a more useful answer.
snibgo's IM pages: im.snibgo.com

Locked