You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explanation: The image in CMYK 96-bit format cannot be read properly. ReadRGBAImageOriented returns false, despite the image being supported by most editors.
Code sample:
using (Tiff image = Tiff.Open(@"TestImage FormaTif96bit_CMYK_NoCompression_SWOP.tif", "r"))
{
FieldValue[] value = image.GetField(TiffTag.IMAGEWIDTH);
int width = value[0].ToInt();
value = image.GetField(TiffTag.IMAGELENGTH);
int height = value[0].ToInt();
int imageSize = height * width;
int[] raster = new int[imageSize];
if (!image.ReadRGBAImage(width, height, raster))
{
// Not expected result!
}
}
Explanation: The image in CMYK 96-bit format cannot be read properly. ReadRGBAImageOriented returns false, despite the image being supported by most editors.
Code sample:
TestImage FormaTif96bit_CMYK_NoCompression_SWOP.zip
The text was updated successfully, but these errors were encountered: