Accusoft.ImagXpress13.Net
MaxValue Property




Gets and sets the maximum value of the MaxValue argument.
Syntax
'Declaration
 
Public Property MaxValue As Integer
'Usage
 
Dim instance As SaveOptionsJls
Dim value As Integer
 
instance.MaxValue = value
 
value = instance.MaxValue
public int MaxValue {get; set;}
public: __property int get_MaxValue();
public: __property void set_MaxValue( 
   int value
);
public:
property int MaxValue {
   int get();
   void set (    int value);
}

Property Value

An integer value which represents the maximum value of any channel in the image.
Remarks

Note: This property affects the maximum value of the Near argument.

The default value is 0 which sets the compression to (2 ^Bits-Per-Channel) -1.

Valid values are 0 to (2 ^ Bits-Per-Channel) - 1.

Note: This value should be left to the default of 0 or set to the maximum of (2 ^ Bits-Per-Channel) - 1, unless the Red, Green, and Blue channels of all the pixels of the image have been analyzed. Any value less than the maximum channel value over all of the pixels will result in an error. A typical 24-bit photographic image with a standard brightness or higher will probably have a Red, Green or Blue value of 255 in at least one pixel in the image. Thus this property could not be anything other than 0 or 255.

A 24-bit RGB image is 8 bits for each channel (Red, Green, and Blue each being separate channels). Images with less than 24-bit per pixel are converted to 24-bit if they are color, 4 or 8 bit grayscale otherwise.

Note: Available in Professional edition.

See Also

Reference

SaveOptionsJls Class
SaveOptionsJls Members

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback