]> git.pld-linux.org Git - packages/ImageMagick.git/blob - ImageMagick-new-jasper.patch
- updated to 6.0.6-2
[packages/ImageMagick.git] / ImageMagick-new-jasper.patch
1 diff -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.031232 seconds and 3 git commands to generate.