ImageGear for Java
ImGearScaleReductionOptions Class Members
Fields 

The following tables list the members exposed by ImGearScaleReductionOptions.

Public Constructors
 NameDescription
Public ConstructorImGearScaleReductionOptions ConstructorInitializes a new instance of the ImGearScaleReductionOptions class object.  
Top
Public Fields
 NameDescription
Public FielddontScalePixelsSet to true to avoid scaling the pixel values.

Boolean value.

In this case, the component values of each pixel will be preserved (within the limits of precision) even though their effective ranges may be different. For example, if you have a 16bpp grayscale image but each pixel value actually only ranges from 0-255, and you want 0 to represent black and 255 to represent white, it makes sense to set this option to true and avoid scaling the values. If scaling were used in such a case, the image would appear black since the brightest possible value (255) would be scaled down to almost nothing: (255/65535) * 255 = 1.

 
Top
See Also

Reference

ImGearScaleReductionOptions Class
com.accusoft.imagegear.processing Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback