diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-06-25 02:20:34 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-04-22 07:38:49 +0200 |
commit | ec09091309856a3b00235a9e93dc27a2921c27e4 (patch) | |
tree | 0eacd517b7aca5e367c00d69b93b320f5e53fd5b /fiv-io.c | |
parent | b34fe631987b90cf6646271c874f8fa61ed81fbf (diff) | |
download | fiv-ec09091309856a3b00235a9e93dc27a2921c27e4.tar.gz fiv-ec09091309856a3b00235a9e93dc27a2921c27e4.tar.xz fiv-ec09091309856a3b00235a9e93dc27a2921c27e4.zip |
NOPUSH: Avoid JPEG enhancement within the TIFF/EP loader
I'm not sure if I want to get rid of it completely like this,
it should just load progressively.
Diffstat (limited to 'fiv-io.c')
-rw-r--r-- | fiv-io.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1903,8 +1903,9 @@ load_tiff_ep( return NULL; } - FivIoImage *image = open_libjpeg_turbo( - (const char *) out.jpeg, out.jpeg_length, ctx, error); + // Ignore ctx->enhance explicitly, for when we don't have LibRaw at all. + FivIoImage *image = load_libjpeg_turbo((const char *) out.jpeg, + out.jpeg_length, ctx, load_libjpeg_simple, error); if (!image) return NULL; |