←Select platform

PhotoInterpolation Property

Summary

Gets or sets the photometric interpolation for the load process.

Syntax
C#
VB
Objective-C
C++
Java
public CodecsPhotoInterpolation PhotoInterpolation { get; set; } 
Public Property PhotoInterpolation As CodecsPhotoInterpolation 
@property (nonatomic, assign) LTCodecsPhotoInterpolation photoInterpolation 
public CodecsPhotoInterpolation getPhotoInterpolation() 
public void setPhotoInterpolation(CodecsPhotoInterpolation value) 
public: 
property CodecsPhotoInterpolation PhotoInterpolation { 
   CodecsPhotoInterpolation get(); 
   void set (    CodecsPhotoInterpolation ); 
} 

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 Lab

Example

For an example, refer to RasterCodecs.LoadInformation.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly