JasPer: jas_icc.h File Reference

JasPer 3.0.6 |

Functions
jas_icc.h File Reference

ICC Profile. More...

`#include <jasper/jas_config.h>`
`#include <jasper/jas_types.h>`
`#include <jasper/jas_stream.h>`
`#include <stdio.h>`

Go to the source code of this file.

## Functions
JAS_EXPORT jas_iccprof_t * | jas_iccprof_load (jas_stream_t *in)
| Read an ICC profile from a stream. More...
JAS_EXPORT int | jas_iccprof_save (jas_iccprof_t *prof, jas_stream_t *out)
| Write an ICC profile to a stream. More...
JAS_EXPORT void | jas_iccprof_destroy (jas_iccprof_t *prof)
| Destroy an ICC profile. More...
JAS_ATTRIBUTE_PURE JAS_EXPORT jas_iccattrval_t * | jas_iccprof_getattr (const jas_iccprof_t *prof, jas_iccattrname_t name)
| Get an attribute of an ICC profile. More...
JAS_EXPORT int | jas_iccprof_setattr (jas_iccprof_t *prof, jas_iccattrname_t name, jas_iccattrval_t *val)
| Set an attribute of an ICC profile. More...
JAS_EXPORT void | jas_iccprof_dump (const jas_iccprof_t *prof, FILE *out)
| Dump an ICC profile to a stream in human-readable format for debugging purposes. More...
JAS_EXPORT jas_iccprof_t * | jas_iccprof_copy (const jas_iccprof_t *prof)
| Create a copy of an ICC profile. More...
JAS_EXPORT int | jas_iccprof_gethdr (const jas_iccprof_t *prof, jas_icchdr_t *hdr)
| Get the header for an ICC profile. More...
JAS_EXPORT int | jas_iccprof_sethdr (jas_iccprof_t *prof, const jas_icchdr_t *hdr)
| Set the header for an ICC profile. More...
JAS_EXPORT void | jas_iccattrval_destroy (jas_iccattrval_t *attrval)
| Destroy an ICC profile attribute. More...
JAS_EXPORT int | jas_iccattrval_allowmodify (jas_iccattrval_t **attrval)
| TODO/FIXME. More...
JAS_EXPORT jas_iccattrval_t * | jas_iccattrval_clone (jas_iccattrval_t *attrval)
| Create a copy of an ICC profile attribute. More...
JAS_EXPORT jas_iccattrval_t * | jas_iccattrval_create (jas_iccuint32_t type)
| Create an ICC profile attribute. More...
JAS_EXPORT void | jas_iccattrtab_dump (const jas_iccattrtab_t *attrtab, FILE *out)
| Dump an ICC profile attribute to a stream in human-readable format for debugging purposes. More...
JAS_EXPORT jas_iccprof_t * | jas_iccprof_createfrombuf (const jas_uchar *buf, unsigned len)
| Create an ICC profile from a buffer in memory. More...
JAS_EXPORT jas_iccprof_t * | jas_iccprof_createfromclrspc (unsigned clrspc)
| Create an ICC profile from a color space. More...

## Detailed Description

ICC Profile.