+2010-03-13 6.6.0-6 Cristy <quetzlzacatenango@image...>
+ * Add support for the Adobe Large Document format.
+
2010-03-11 6.6.0-5 Cristy <quetzlzacatenango@image...>
* Permit user to get virtual pixels with a region width of 0.
* Reformulate the jinc() functio so that the main peak is of amplitude of 1.
2010-03-07 6.6.0-4 Cristy <quetzlzacatenango@image...>
* The -evaluate-sequence option behaves like -evaluate except it operates
on a sequence of images.
- * Add support for the Adobe Large Document format.
2010-03-05 6.6.0-2 Cristy <quetzlzacatenango@image...>
* Add support for the -maximum and -minimum options.
*profile;
MagickBooleanType
- force_white_background = image->matte,
invert_layer_count = MagickFalse,
status;
Image
* tmp_image = (Image *) NULL,
- * base_image = force_white_background ? image : GetNextImageInList(image);
+ * base_image = GetNextImageInList(image);
/*
Open output image file.
(void) WriteBlobMSBShort(image,psd_info.version); /* version */
for (i=1; i <= 6; i++)
(void) WriteBlobByte(image, 0); /* 6 bytes of reserved */
- if ( force_white_background )
- num_channels = 3;
+ if (image->storage_class == PseudoClass)
+ num_channels=(image->matte ? 2UL : 1UL);
else
- {
- if (image->storage_class == PseudoClass)
- num_channels=(image->matte ? 2UL : 1UL);
- else
{
- if (image->colorspace != CMYKColorspace)
- num_channels=(image->matte ? 4UL : 3UL);
- else
- num_channels=(image->matte ? 5UL : 4UL);
+ if (image->colorspace != CMYKColorspace)
+ num_channels=(image->matte ? 4UL : 3UL);
+ else
+ num_channels=(image->matte ? 5UL : 4UL);
}
- }
(void) WriteBlobMSBShort(image,(unsigned short) num_channels);
(void) WriteBlobMSBLong(image,image->rows);
(void) WriteBlobMSBLong(image,image->columns);
}
- /* now the background image data! */
- if (force_white_background != MagickFalse)
- WriteWhiteBackground(&psd_info,image);
- else
- status=WriteImageChannels(&psd_info,image_info,image,image,MagickFalse);
+ /* now the background image data! */
+ status=WriteImageChannels(&psd_info,image_info,image,image,MagickFalse);
(void) CloseBlob(image);
return(status);