oop, dropped an "else"
This commit is contained in:
parent
a158b15b97
commit
81fa983121
@ -4,6 +4,7 @@
|
||||
- add max and min to region shrink [rgluskin]
|
||||
- allow \ as an escape character in vips_break_token() [akemrir]
|
||||
- tiffsave has a "depth" param to set max pyr depth
|
||||
- libtiff LOGLUV images load and save as libvips XYZ
|
||||
|
||||
20/6/19 started 8.9.1
|
||||
- don't use the new source loaders for new_from_file or new_from_buffer, it
|
||||
|
@ -2270,8 +2270,7 @@ rtiff_header_read( Rtiff *rtiff, RtiffHeader *header )
|
||||
if( header->compression == COMPRESSION_JPEG )
|
||||
TIFFSetField( rtiff->tiff,
|
||||
TIFFTAG_JPEGCOLORMODE, JPEGCOLORMODE_RGB );
|
||||
|
||||
if( header->photometric_interpretation == PHOTOMETRIC_YCBCR ) {
|
||||
else if( header->photometric_interpretation == PHOTOMETRIC_YCBCR ) {
|
||||
/* We rely on the jpg decompressor to upsample chroma
|
||||
* subsampled images. If there is chroma subsampling but
|
||||
* no jpg compression, we have to give up.
|
||||
|
Loading…
Reference in New Issue
Block a user