diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-06-07 21:55:25 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-06-07 21:57:51 +0200 |
commit | ee202ca28b3c5f2ff1d1da5b41fea109f303da38 (patch) | |
tree | e03233add69213799caa9b9a2f82d93115ca6981 | |
parent | 04db6ed6a1078a62ba09e9db64dccabc767e39c6 (diff) | |
download | fiv-ee202ca28b3c5f2ff1d1da5b41fea109f303da38.tar.gz fiv-ee202ca28b3c5f2ff1d1da5b41fea109f303da38.tar.xz fiv-ee202ca28b3c5f2ff1d1da5b41fea109f303da38.zip |
Fix enhancement of CMYK JPEGs
The conversion to RGB was done twice.
-rw-r--r-- | fiv-io.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1612,9 +1612,6 @@ open_libjpeg_enhanced( while (cinfo.output_scanline < cinfo.output_height) (void) jpeg_read_scanlines(&cinfo, lines + cinfo.output_scanline, cinfo.output_height - cinfo.output_scanline); - if (cinfo.out_color_space == JCS_CMYK) - trivial_cmyk_to_host_byte_order_argb( - surface_data, cinfo.output_width * cinfo.output_height); (void) jpegqs_finish_decompress(&cinfo); load_jpeg_finalize(surface, use_cmyk, ctx, data, len); |