]> git.pld-linux.org Git - packages/ImageMagick.git/blame - ImageMagick-new-jasper.patch
- reverted. XFree86 is back.
[packages/ImageMagick.git] / ImageMagick-new-jasper.patch
CommitLineData
72a27cd5 1diff -Nru ImageMagick-5.5.1.orig/coders/jp2.c ImageMagick-5.5.1/coders/jp2.c
2--- ImageMagick-5.5.1.orig/coders/jp2.c Sat Oct 12 18:41:32 2002
3+++ ImageMagick-5.5.1/coders/jp2.c Fri Nov 8 22:17:39 2002
4@@ -598,7 +598,7 @@
5 component_info[i].prec=(unsigned int) image->depth <= 8 ? 8 : 16;
6 }
7 jp2_image=jas_image_create((short) number_components,component_info,
8- number_components == 1 ? JAS_IMAGE_CM_GRAY : JAS_IMAGE_CM_RGB);
9+ number_components == 1 ? JAS_IMAGE_CS_GRAY : JAS_IMAGE_CS_RGB);
10 if (jp2_image == (jas_image_t *) NULL)
11 ThrowWriterException(FileOpenError,"Unable to create image",image);
12 /*
This page took 0.060532 seconds and 4 git commands to generate.