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> | 2023-10-17 15:34:45 +0200 |
commit | ec0d58b5633bd83be5277149c05320d67b51bf4e (patch) | |
tree | 6550ccb3bae17236e1170f259c97ab3c98c2e28c | |
parent | b07fba0c9c0af509dd4fd05846c22b07730751aa (diff) | |
download | fiv-ec0d58b5633bd83be5277149c05320d67b51bf4e.tar.gz fiv-ec0d58b5633bd83be5277149c05320d67b51bf4e.tar.xz fiv-ec0d58b5633bd83be5277149c05320d67b51bf4e.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.
-rw-r--r-- | fiv-io.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2098,8 +2098,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; |