[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.TiffValidationResult

TiffValidationResult Enum

Specifies whether an image can be loaded from TIFF frame and the reason if it can't.

Namespace: GrapeCity.Documents.Imaging
Assembly: DS.Documents.Imaging.dll
Syntax
public enum TiffValidationResult
Public Enum TiffValidationResult

Fields

Name Description
IncompatibleCompressionScheme

CCITT_1D, Group_3_Fax, and Group_4_Fax compression schemes are only supported for SamplesPerPixel = 1 and BitsPerSample = 1.

MissingColorMap

ColorMap is a required field for the RGB_Palette color space.

MoreThanOneSamplePerPixel

The specified color space (WhiteIsZero, BlackIsZero, TransparencyMask, or RGB_Palette) supports only one component (sample) per pixel.

NoStripOffsetsOrByteCounts

StripOffsets or StripByteCounts fields are missing (while TileWidth and TileLength are not defined).

NoTileOffsetsOrByteCounts

TileOffsets or TileByteCounts fields are missing for a tiled TIFF frame.

Success

No problems found. Image can be loaded from a TiffFrame.

TileWidthIsNotMultipleOf16

TileWidth must be a multiple of 16 (or at least of 8 for GcTiffReader).

UnexpectedBitsPerSample

Unexpected value of the BitsPerSample field.

UnexpectedExtraSamples

Unexpected value of the ExtraSamples field. GcTiffReader supports single associated or unassociated alpha component.

UnsupportedCompressionScheme

TIFF frame's compression scheme is not currently supported in GcTiffReader.

UnsupportedDifferencingPredictor

Differencing Predictor is supported for LZW and Deflate TIFF encoding schemes only.

UnsupportedFillOrder

FillOrder = 2 is only supported for SamplesPerPixel = 1 and BitsPerSample = 1.

UnsupportedIndexedFormat

Indexed images with BitsPerSample other than 4 or 8 are not currently supported in GcTiffReader.

UnsupportedPhotometricInterpretation

The specified color space of the image data is not currently supported in GcTiffReader.

UnsupportedRGBFormat

RGB images with SamplesPerPixel other than 3 or 4 are not currently supported in GcTiffReader.

ZeroSizedFrameTile

Either TileWidth or TileLength are equal to zero for a tiled TIFF frame.

ZeroSizedTiffFrame

TIFF frame has either width or length equal to zero.