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-01-26 21:58:38 +0100 |
commit | 6206ce91135402af21ea9b5417d07169cca5e49a (patch) | |
tree | dc5bf747759951450e3970ce6bea9a9b7a105e8c | |
parent | f23afa080a227ab9200573da7eb4e5be9afd8e58 (diff) | |
download | fiv-6206ce91135402af21ea9b5417d07169cca5e49a.tar.gz fiv-6206ce91135402af21ea9b5417d07169cca5e49a.tar.xz fiv-6206ce91135402af21ea9b5417d07169cca5e49a.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
@@ -1890,8 +1890,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; |