diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-11-18 07:26:25 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-11-18 07:26:25 +0100 |
commit | 88074516976927dbb436888c47ff25ef53578a0d (patch) | |
tree | 218c8af4da9d6dfd454c5af234648c1988d6062f /tree/colorspace.c | |
parent | 2724ed5685e87dd6491df510de384ffe03223991 (diff) | |
download | mupdf-88074516976927dbb436888c47ff25ef53578a0d.tar.xz |
image bit depths 2 and 4
Diffstat (limited to 'tree/colorspace.c')
-rw-r--r-- | tree/colorspace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tree/colorspace.c b/tree/colorspace.c index 2a3e8e87..799011f3 100644 --- a/tree/colorspace.c +++ b/tree/colorspace.c @@ -61,12 +61,12 @@ fz_stdconvpixmap(fz_colorspace *srcs, fz_pixmap *src, fz_colorspace *dsts, fz_pi unsigned char *s = src->samples; unsigned char *d = dst->samples; + printf("convert pixmap from %s to %s\n", srcs->name, dsts->name); + assert(src->w == dst->w && src->h == dst->h); assert(src->n == srcs->n + 1); assert(dst->n == dsts->n + 1); - printf("convert pixmap from %s to %s\n", srcs->name, dsts->name); - for (y = 0; y < src->h; y++) { for (x = 0; x < src->w; x++) |