diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-11-03 14:55:32 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-11-03 14:55:32 +0100 |
commit | c64fd9ffacb8463affc3c02eeebaee11a4028373 (patch) | |
tree | 3864d467f7f2d024f2b2abbef02a81000d0eb31d /include | |
parent | 150b4298415cbdbccaf5831d6c2a10a6b665cff7 (diff) | |
download | mupdf-c64fd9ffacb8463affc3c02eeebaee11a4028373.tar.xz |
image masks, inline images and xobject forms
Diffstat (limited to 'include')
-rw-r--r-- | include/fitz/image.h | 2 | ||||
-rw-r--r-- | include/fitz/object.h | 1 | ||||
-rw-r--r-- | include/mupdf/rsrc.h | 3 | ||||
-rw-r--r-- | include/mupdf/xref.h | 1 |
4 files changed, 6 insertions, 1 deletions
diff --git a/include/fitz/image.h b/include/fitz/image.h index 13d4d096..cfbba169 100644 --- a/include/fitz/image.h +++ b/include/fitz/image.h @@ -10,3 +10,5 @@ struct fz_image_s int w, h, n, a; }; +void fz_dropimage(fz_image *img); + diff --git a/include/fitz/object.h b/include/fitz/object.h index 520fa27f..e275074b 100644 --- a/include/fitz/object.h +++ b/include/fitz/object.h @@ -106,6 +106,7 @@ fz_obj *fz_dictgetkey(fz_obj *dict, int idx); fz_obj *fz_dictgetval(fz_obj *dict, int idx); fz_obj *fz_dictget(fz_obj *dict, fz_obj *key); fz_obj *fz_dictgets(fz_obj *dict, char *key); +fz_obj *fz_dictgetsa(fz_obj *dict, char *key, char *abbrev); fz_error *fz_dictput(fz_obj *dict, fz_obj *key, fz_obj *val); fz_error *fz_dictputs(fz_obj *dict, char *key, fz_obj *val); fz_error *fz_dictdel(fz_obj *dict, fz_obj *key); diff --git a/include/mupdf/rsrc.h b/include/mupdf/rsrc.h index 8277c5cc..9dc12acd 100644 --- a/include/mupdf/rsrc.h +++ b/include/mupdf/rsrc.h @@ -58,7 +58,7 @@ struct pdf_xobject_s fz_buffer *contents; }; -fz_error *pdf_loadxobject(pdf_xobject **xobjp, pdf_xref *xref, fz_obj *obj); +fz_error *pdf_loadxobject(pdf_xobject **xobjp, pdf_xref *xref, fz_obj *obj, fz_obj *ref); void pdf_dropxobject(pdf_xobject *xobj); /* @@ -78,6 +78,7 @@ struct pdf_image_s fz_buffer *samples; }; +fz_error *pdf_loadinlineimage(pdf_image **imgp, pdf_xref *xref, fz_obj *dict, fz_file *file); fz_error *pdf_loadimage(pdf_image **imgp, pdf_xref *xref, fz_obj *obj, fz_obj *stm); /* diff --git a/include/mupdf/xref.h b/include/mupdf/xref.h index d7d2e156..ac01ca9d 100644 --- a/include/mupdf/xref.h +++ b/include/mupdf/xref.h @@ -57,6 +57,7 @@ fz_error *pdf_loadobject(fz_obj **objp, pdf_xref *, int oid, int gen); fz_error *pdf_loadindirect(fz_obj **objp, pdf_xref *, fz_obj *ref); fz_error *pdf_resolve(fz_obj **reforobj, pdf_xref *); +fz_error *pdf_decodefilter(fz_filter **filterp, fz_obj *stmobj); int pdf_isstream(pdf_xref *xref, int oid, int gen); fz_error *pdf_loadrawstream(fz_buffer **bufp, pdf_xref *xref, int oid, int gen); fz_error *pdf_loadstream(fz_buffer **bufp, pdf_xref *xref, int oid, int gen); |