pdfimages -all incorrectly extracts DCT encoded CMYK images
Currently, if pdfimages (as of v21.12.0) is given a .pdf file which contains CMYK colorspace images that are DCT compressed, and the flag '-all' it will extract those images as .jpg files with mangled colors. However, if given the flag '-tiff' it correctly extracts those images as CMYK .tiff files.
pdfimages should either respond to '-all' by producing CMYK .jpg files with the correct colors (preferred) or should produce .tif files for these images.
The attached file is page-2 of a free-to-download product from Heroic Maps, which illustrates the issue. interior-02.pdf