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> | 2026-02-23 11:58:14 +0100 |
| commit | 99afceb307aa226a5223cb9f1ab50a2f5a167140 (patch) | |
| tree | 2b511e41fdee6cd278a547375a57021457ab2318 | |
| parent | f8c89430797f2f8485488330194be7b32c7005c2 (diff) | |
| download | fiv-99afceb307aa226a5223cb9f1ab50a2f5a167140.tar.gz fiv-99afceb307aa226a5223cb9f1ab50a2f5a167140.tar.xz fiv-99afceb307aa226a5223cb9f1ab50a2f5a167140.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; |
