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-01-01 23:27:15 +0100 |
commit | 14c3845db4ac240ec8e375a1f7347c7e811ebae8 (patch) | |
tree | 23f0e7fdbf5a32c08db0468dfe6dc5f58989df4e | |
parent | 1bc52fa405a67c0fb98157e0be1eb870055f7e3c (diff) | |
download | fiv-14c3845db4ac240ec8e375a1f7347c7e811ebae8.tar.gz fiv-14c3845db4ac240ec8e375a1f7347c7e811ebae8.tar.xz fiv-14c3845db4ac240ec8e375a1f7347c7e811ebae8.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; |