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-21 06:30:25 +0100 |
| commit | 3e850cac12f8c94e00d6481a057a719249d2b1ea (patch) | |
| tree | cd84e9f8493fb1c673023e1985f2a4ee800f0ff6 /fiv-io.c | |
| parent | 9de37473289682e1eb1c37190491ef6090d2a846 (diff) | |
| download | fiv-3e850cac12f8c94e00d6481a057a719249d2b1ea.tar.gz fiv-3e850cac12f8c94e00d6481a057a719249d2b1ea.tar.xz fiv-3e850cac12f8c94e00d6481a057a719249d2b1ea.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; |
