Sunday, January 26, 2014

Chroma Sub‐Sampling in JPEG Exif Files

On page 14 in the Exif 2.3 specification, under 4.4.3, “Pixel Composition and Sampling”, the following is stated:

“When compressed data is used, the combination shall be Y:Cb:Cr = 4:2:2 or Y:Cb:Cr = 4:2:0.”

Why the heck isn’t a combination of 4:4:4 (i.e. no sub‐sampling) allowed? This will produce the highest quality JPEG compressed images, and many times there is a noticeable difference between using 4:4:4 and using 4:2:2 or 4:2:0. Incomprehensible.

Thursday, January 9, 2014


pcdtoppm is a mod­i­fi­ca­tion of the pcdtojpeg Pho­to CD con­ver­sion util­i­ty that out­puts PPM rather than JPEG.