Thursday, March 13, 2014

jpginfo

When I tried to debug why mozjpeg jpegtran segfault with certain files, I have a look on libjpeg and nanojpeg source code, and write a JPEG information tool which returns image resolution, number of color components, color space, and file type.

Download source+binary: jpginfo.zip

Changelog:
[20140316]
- print filename in error messages
- treat ncomp=3 without RGB compid as YCbCr

No comments:

Post a Comment