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:
James Zern
2012-12-15 19:41:03 -08:00
parent df7aa07605
commit 2914ecfd56
3 changed files with 62 additions and 6 deletions

View File

@ -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.