LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
PhotoInterpolation Property
See Also 
Leadtools.Codecs Namespace > CodecsLoadInformationEventArgs Class : PhotoInterpolation Property



Gets or sets the photometric interpolation for the load process.

Syntax

Visual Basic (Declaration) 
Public Property PhotoInterpolation As CodecsPhotoInterpolation
Visual Basic (Usage)Copy Code
Dim instance As CodecsLoadInformationEventArgs
Dim value As CodecsPhotoInterpolation
 
instance.PhotoInterpolation = value
 
value = instance.PhotoInterpolation
C# 
public CodecsPhotoInterpolation PhotoInterpolation {get; set;}
C++/CLI 
public:
property CodecsPhotoInterpolation PhotoInterpolation {
   CodecsPhotoInterpolation get();
   void set (    CodecsPhotoInterpolation value);
}

Property Value

The photometric interpolation for the load process. Possible values are:

When Format is one of the following:

The value of PhotoInterpolation is as follows:

Value Meaning
CodecsPhotoInterpolation.WhiteIsZero White is zero
CodecsPhotoInterpolation.BlackIsZero Black is zero

When Format is RasterImageFormat.RawPackBits, the value of PhotoInterpolation is as follows:

Value Meaning
CodecsPhotoInterpolation.NoColorMap There is no color map (RGB)
CodecsPhotoInterpolation.Cmyk Separated CMYK
CodecsPhotoInterpolation.YcbCr YC b C r color space
CodecsPhotoInterpolation.CieLab 1976 CIE L*a*b

Example

For an example, refer to RasterCodecs.LoadInformation.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also