mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
cwebp/tiffdec: add TIFF metadata extraction
currently the values of XMP/ICC are unused and EXIF is ignored. Change-Id: I1d8b73bde4db2768f117158f986aadbaaec45804
This commit is contained in:
@ -334,7 +334,7 @@ static int ReadPicture(const char* const filename, WebPPicture* const pic,
|
||||
} else if (format == JPEG_) {
|
||||
ok = ReadJPEG(in_file, pic);
|
||||
} else if (format == TIFF_) {
|
||||
ok = ReadTIFF(filename, pic, keep_alpha);
|
||||
ok = ReadTIFF(filename, pic, keep_alpha, metadata);
|
||||
}
|
||||
} else {
|
||||
// If image size is specified, infer it as YUV format.
|
||||
|
Reference in New Issue
Block a user