![]() |
GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
ICC profile parser. More...
Go to the source code of this file.
Functions | |
int | gp_read_icc (gp_io *io, gp_storage *storage) |
Parses an ICC profile. | |
ICC profile parser.
Definition in file gp_icc.h.
int gp_read_icc | ( | gp_io * | io, |
gp_storage * | storage ) |
Parses an ICC profile.
This function is internally called by the JPEG and TIFF loaders.
The ICC profile must start at the current offset in the I/O. After the function returns the offset in I/O has been advanced after the ICC profile.
The data are stored in the storage as key value pairs under the "ICC Profile" key.
Supported ICC keys are:
io | A readable I/O. |
storage | A storage to store the data to. |