summaryrefslogtreecommitdiff
path: root/tree/colorspace.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-11-18 07:26:25 +0100
committerTor Andersson <tor@ghostscript.com>2004-11-18 07:26:25 +0100
commit88074516976927dbb436888c47ff25ef53578a0d (patch)
tree218c8af4da9d6dfd454c5af234648c1988d6062f /tree/colorspace.c
parent2724ed5685e87dd6491df510de384ffe03223991 (diff)
downloadmupdf-88074516976927dbb436888c47ff25ef53578a0d.tar.xz
image bit depths 2 and 4
Diffstat (limited to 'tree/colorspace.c')
-rw-r--r--tree/colorspace.c4
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++)