←Select platform

PhotoInterpolation Property

Summary

Gets or sets the photometric interpolation for the load process.

Syntax

C#
VB
Java
Objective-C
C++
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.2018.6.21
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly