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-11 23:36:59 +0100 |
| commit | 55320f0e40bba9d6e1a415e976183a470676a602 (patch) | |
| tree | cb29ff7d7f65d40d8f763359d3e4361162dca627 /fiv-io.c | |
| parent | 690e60cd74c44ed1e2d21b27e3152856845ead28 (diff) | |
| download | fiv-55320f0e40bba9d6e1a415e976183a470676a602.tar.gz fiv-55320f0e40bba9d6e1a415e976183a470676a602.tar.xz fiv-55320f0e40bba9d6e1a415e976183a470676a602.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; |
