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-03-21 04:06:28 +0100 |
commit | f891ec1730f77a01108d95438f83cddb86bca308 (patch) | |
tree | fa9c5ce406ab3809f4dd0de8d2af622809fde01b | |
parent | d68e09525c90d82d21335b7c7bb1935ae9545adb (diff) | |
download | fiv-f891ec1730f77a01108d95438f83cddb86bca308.tar.gz fiv-f891ec1730f77a01108d95438f83cddb86bca308.tar.xz fiv-f891ec1730f77a01108d95438f83cddb86bca308.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
@@ -1898,8 +1898,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; |