summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-08-13 00:53:39 +0800
committerSebastian Rasmussen <sebras@gmail.com>2017-08-16 20:09:37 +0800
commit2e9891c20d83d7a5fa09140ce8046a82dd758433 (patch)
treef0c514e555fecbbb01a985b1401bed8df0cd3121 /include
parent33564e95a1834b8e58a0f445363808dfb3b625d4 (diff)
downloadmupdf-2e9891c20d83d7a5fa09140ce8046a82dd758433.tar.xz
Allow access to an indexed colorspace's color entries.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mupdf/fitz/image.h b/include/mupdf/fitz/image.h
index 13aee534..ba950ebf 100644
--- a/include/mupdf/fitz/image.h
+++ b/include/mupdf/fitz/image.h
@@ -234,6 +234,7 @@ fz_image *fz_new_image_from_file(fz_context *ctx, const char *path);
void fz_drop_image_imp(fz_context *ctx, fz_storable *image);
void fz_drop_image_base(fz_context *ctx, fz_image *image);
fz_pixmap *fz_decomp_image_from_stream(fz_context *ctx, fz_stream *stm, fz_compressed_image *image, fz_irect *subarea, int indexed, int l2factor);
+unsigned char *fz_indexed_colorspace_palette(fz_context *ctx, fz_colorspace *cs, int *high);
fz_pixmap *fz_expand_indexed_pixmap(fz_context *ctx, const fz_pixmap *src, int alpha);
size_t fz_image_size(fz_context *ctx, fz_image *im);