diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-12-30 13:49:53 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-01-05 14:47:37 +0100 |
commit | d521de5ffad2dcc6c151e25373dd8a26a84440eb (patch) | |
tree | 8867964f50123897b2d45d28b9c927b500cc1f04 /source/fitz/bitmap.c | |
parent | 39b7ee963183e02ae44c4d55607d4fdb7759e585 (diff) | |
download | mupdf-d521de5ffad2dcc6c151e25373dd8a26a84440eb.tar.xz |
Add pixmap struct accessors.
Diffstat (limited to 'source/fitz/bitmap.c')
-rw-r--r-- | source/fitz/bitmap.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/source/fitz/bitmap.c b/source/fitz/bitmap.c index 2e6cdfcc..b6eba35f 100644 --- a/source/fitz/bitmap.c +++ b/source/fitz/bitmap.c @@ -78,27 +78,6 @@ fz_save_bitmap_as_pbm(fz_context *ctx, fz_bitmap *bitmap, char *filename) fz_rethrow(ctx); } -fz_colorspace *fz_pixmap_colorspace(fz_context *ctx, fz_pixmap *pix) -{ - if (!pix) - return NULL; - return pix->colorspace; -} - -int fz_pixmap_components(fz_context *ctx, fz_pixmap *pix) -{ - if (!pix) - return 0; - return pix->n; -} - -unsigned char *fz_pixmap_samples(fz_context *ctx, fz_pixmap *pix) -{ - if (!pix) - return NULL; - return pix->samples; -} - void fz_bitmap_details(fz_bitmap *bit, int *w, int *h, int *n, int *stride) { if (!bit) |