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> | 2025-11-03 18:05:41 +0100 |
| commit | c0ba3568e343113bfb98f48999a3a761a8a10c95 (patch) | |
| tree | ad3ed9804eda9da78ecce3d79c155c9182a9466c /fiv-io.c | |
| parent | 2234fd008d294ebfa425e48844961c254cb4f11b (diff) | |
| download | fiv-c0ba3568e343113bfb98f48999a3a761a8a10c95.tar.gz fiv-c0ba3568e343113bfb98f48999a3a761a8a10c95.tar.xz fiv-c0ba3568e343113bfb98f48999a3a761a8a10c95.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.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; |
