Changeset 1267
- Timestamp:
- 02/19/10 12:49:50 (3 years ago)
- Location:
- ImageMagick/trunk
- Files:
-
- 2 edited
-
coders/tiff.c (modified) (1 diff)
-
magick/transform.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ImageMagick/trunk/coders/tiff.c
r994 r1267 1066 1066 } 1067 1067 else 1068 { 1069 if (samples_per_pixel > 3) 1068 for (i=0; i < extra_samples; i++) 1069 { 1070 if (sample_info[i] == EXTRASAMPLE_UNASSALPHA) 1070 1071 { 1071 1072 image->matte=MagickTrue; 1072 1073 associated_alpha=MagickFalse; 1073 1074 } 1074 if (sample_info[0] == EXTRASAMPLE_UNASSALPHA) 1075 { 1076 image->matte=MagickTrue; 1077 associated_alpha=MagickFalse; 1078 } 1079 if (sample_info[0] == EXTRASAMPLE_ASSOCALPHA) 1075 if (sample_info[i] == EXTRASAMPLE_ASSOCALPHA) 1080 1076 { 1081 1077 image->matte=MagickTrue; -
ImageMagick/trunk/magick/transform.c
r1213 r1267 625 625 continue; 626 626 } 627 indexes=GetCacheViewVirtualIndexQueue(image_view); 628 crop_indexes=GetCacheViewAuthenticIndexQueue(crop_view); 627 629 (void) CopyMagickMemory(q,p,(size_t) crop_image->columns*sizeof(*q)); 628 indexes=GetCacheViewVirtualIndexQueue(image_view); 629 if (indexes != (IndexPacket *) NULL) 630 { 631 crop_indexes=GetCacheViewAuthenticIndexQueue(crop_view); 632 if (crop_indexes != (IndexPacket *) NULL) 633 (void) CopyMagickMemory(crop_indexes,indexes,(size_t) 634 crop_image->columns*sizeof(*crop_indexes)); 635 } 630 if ((indexes != (IndexPacket *) NULL) && 631 (crop_indexes != (IndexPacket *) NULL)) 632 (void) CopyMagickMemory(crop_indexes,indexes,(size_t) crop_image->columns* 633 sizeof(*crop_indexes)); 636 634 if (SyncCacheViewAuthenticPixels(crop_view,exception) == MagickFalse) 637 635 status=MagickFalse;
Note: See TracChangeset
for help on using the changeset viewer.
