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-05-26 08:42:50 +0200 |
| commit | bac42b1ee3ab8a0fca36be18a89f94bba95c5970 (patch) | |
| tree | 771b569c5fe6c54f517f408cc36df86b8d1e7a5f | |
| parent | d7dd8d0e3833a10ea84c74baa67149a9be19428e (diff) | |
| download | fiv-bac42b1ee3ab8a0fca36be18a89f94bba95c5970.tar.gz fiv-bac42b1ee3ab8a0fca36be18a89f94bba95c5970.tar.xz fiv-bac42b1ee3ab8a0fca36be18a89f94bba95c5970.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; |
