- Package:
- libjpeg-turbo-progs
- Source:
- libjpeg-turbo
- Description:
- Programs for manipulating JPEG files
- Submitter:
- Mathieu Malaterre
- Date:
- 2021-12-01 08:15:06 UTC
- Severity:
- normal
- Tags:
Dear Maintainer, It seems the behavior of cjpeg has changed for PGM (grayscale) input file. It would be nice to revert to old behavior where single component (grayscale) PGM input result in JPEG file with single component. Steps: $ convert -size 512x512 -depth 8 xc:black black.pgm $ cjpeg -outfile black.jpg black.pgm $ file black.jpg black.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 512x512, components 3
See: * https://github.com/libjpeg-turbo/libjpeg-turbo/commit/2ce32e0fe53fb402c78c92137998c5119d09aee0.patch