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-02 02:09:28 +0100 | 
| commit | b63226b5e0e74cf458fcd76fb123195f81ce03df (patch) | |
| tree | 89fd21371df2d98e29894db6aedc2b445d313d87 /fiv-io.c | |
| parent | 0fceaf7728e8efeffb158271a8fe74e4db1a6a7a (diff) | |
| download | fiv-b63226b5e0e74cf458fcd76fb123195f81ce03df.tar.gz fiv-b63226b5e0e74cf458fcd76fb123195f81ce03df.tar.xz fiv-b63226b5e0e74cf458fcd76fb123195f81ce03df.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;  | 
