aboutsummaryrefslogtreecommitdiff
path: root/fiv-io.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-06-25 02:20:34 +0200
committerPřemysl Eric Janouch <p@janouch.name>2024-12-20 09:48:20 +0100
commit80dba039cefea1c24b10e24eacbb55f3af72466f (patch)
tree0742477419169492c39fda23629b8f001a0e4ec8 /fiv-io.c
parented3225250b5bb5990b498a98938d0dbd28db2c6d (diff)
downloadfiv-80dba039cefea1c24b10e24eacbb55f3af72466f.tar.gz
fiv-80dba039cefea1c24b10e24eacbb55f3af72466f.tar.xz
fiv-80dba039cefea1c24b10e24eacbb55f3af72466f.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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fiv-io.c b/fiv-io.c
index 2d32990..5c7e75d 100644
--- a/fiv-io.c
+++ b/fiv-io.c
@@ -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;