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:
@ -17,12 +17,14 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct Metadata;
|
||||
struct WebPPicture;
|
||||
|
||||
// Reads a JPEG from 'in_file', returning the decoded output in 'pic'.
|
||||
// The output is RGB.
|
||||
// Returns true on success.
|
||||
int ReadJPEG(FILE* in_file, struct WebPPicture* const pic);
|
||||
int ReadJPEG(FILE* in_file, struct WebPPicture* const pic,
|
||||
struct Metadata* const metadata);
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
} // extern "C"
|
||||
|
Reference in New Issue
Block a user