mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
cwebp/jpegdec: add JPEG metadata extraction
the values of EXIF/XMP/ICC are unused and Extended XMP for payloads > 64k is unsupported. Change-Id: If721aa2009335ce090148b7ecd7ea8459f9b942d
This commit is contained in:
@ -332,7 +332,7 @@ static int ReadPicture(const char* const filename, WebPPicture* const pic,
|
||||
if (format == PNG_) {
|
||||
ok = ReadPNG(in_file, pic, keep_alpha);
|
||||
} else if (format == JPEG_) {
|
||||
ok = ReadJPEG(in_file, pic);
|
||||
ok = ReadJPEG(in_file, pic, metadata);
|
||||
} else if (format == TIFF_) {
|
||||
ok = ReadTIFF(filename, pic, keep_alpha);
|
||||
}
|
||||
|
Reference in New Issue
Block a user