wicdec: add ICC profile extraction

Change-Id: I4522cdd5a529f802f1eb566b6d94539612e0976b
This commit is contained in:
James Zern
2013-01-24 15:37:49 -08:00
parent 522e9d6108
commit e83ff7decd
3 changed files with 86 additions and 8 deletions

View File

@ -14,6 +14,7 @@
extern "C" {
#endif
struct Metadata;
struct WebPPicture;
// Reads an image from 'filename', returning the decoded output in 'pic'.
@ -21,7 +22,8 @@ struct WebPPicture;
// RGBA otherwise it will be RGB.
// Returns true on success.
int ReadPictureWithWIC(const char* const filename,
struct WebPPicture* const pic, int keep_alpha);
struct WebPPicture* const pic, int keep_alpha,
struct Metadata* const metadata);
#if defined(__cplusplus) || defined(c_plusplus)
} // extern "C"