diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2013-09-14 20:59:56 +0930 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2013-09-15 20:50:46 +0930 |
commit | 5c0caa6f82374ec38a33d5f25a725f60bc121887 (patch) | |
tree | f72d0efad6b57d4592713831c7c863de4e5432dc /src/cairo-image-info-private.h | |
parent | 2d6705671a900251f00c6b59375bd4d23ec6b4d0 (diff) | |
download | cairo-5c0caa6f82374ec38a33d5f25a725f60bc121887.tar.gz |
pdf: support JBIG2 mime data
JBIG2 images may have shared global data that is stored in a separate
stream in PDF. The CAIRO_MIME_TYPE_JBIG2 mime type is for the JBIG2
data for each image. All images that use global data must also set
CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID to a unique identifier. One of the
images must also set CAIRO_MIME_TYPE_JBIG2_GLOBAL to the global
data. The global data will be shared by all JBIG2 images with the same
CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID.
Diffstat (limited to 'src/cairo-image-info-private.h')
-rw-r--r-- | src/cairo-image-info-private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cairo-image-info-private.h b/src/cairo-image-info-private.h index 0d9ef8498..e64928e40 100644 --- a/src/cairo-image-info-private.h +++ b/src/cairo-image-info-private.h @@ -60,4 +60,9 @@ _cairo_image_info_get_png_info (cairo_image_info_t *info, const unsigned char *data, unsigned long length); +cairo_private cairo_int_status_t +_cairo_image_info_get_jbig2_info (cairo_image_info_t *info, + const unsigned char *data, + unsigned long length); + #endif /* CAIRO_IMAGE_INFO_PRIVATE_H */ |