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-13 05:16:49 +0200 |
commit | 9d17d1094ad6f0054d9aa74eeb76e88653790ad2 (patch) | |
tree | 8005dc3ca18cf88daf3ac0b3bc8332600e06a51a | |
parent | 3c8ddcaf264a08102b27ae96a8a8340cb0abc997 (diff) | |
download | fiv-9d17d1094ad6f0054d9aa74eeb76e88653790ad2.tar.gz fiv-9d17d1094ad6f0054d9aa74eeb76e88653790ad2.tar.xz fiv-9d17d1094ad6f0054d9aa74eeb76e88653790ad2.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
@@ -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; |