Class: AdvancedImagingConvertOptions

PDFNet.Convert. AdvancedImagingConvertOptions


new AdvancedImagingConvertOptions()

An object containing options for fromDICOM functions

Methods


getDefaultDPI()

Gets the value DefaultDPI from the options object Default dpi used when rendering content when resolution is not provided in the image file. No image pixel data is lost by specifiying this option. Note: In case of DICOM images, we assume that the resolution is specified by Pixel Spacing attribute.
Returns:
the current value for DefaultDPI.
Type
number

getEnableAutoLevel()

Gets the value EnableAutoLevel from the options object When the option is enabled, the maximum and minimum pixel values of the entire image are calculated and all the image pixel values are streched to make use of the full range of values. In effect, this option enables normalization of the entire image and can potentially improve its brightness and contrast.
Returns:
the current value for EnableAutoLevel.
Type
boolean

setDefaultDPI(value)

Sets the value for EnableAutoLevel in the options object When the option is enabled, the maximum and minimum pixel values of the entire image are calculated and all the image pixel values are streched to make use of the full range of values. In effect, this option enables normalization of the entire image and can potentially improve its brightness and contrast.
Parameters:
Name Type Description
value boolean the new value for EnableAutoLevel
Returns:
this object, for call chaining

setDefaultDPI(value)

Sets the value for DefaultDPI in the options object Default dpi used when rendering content when resolution is not provided in the image file. No image pixel data is lost by specifiying this option. Note: In case of DICOM images, we assume that the resolution is specified by Pixel Spacing attribute.
Parameters:
Name Type Description
value number the new value for DefaultDPI
Returns:
this object, for call chaining
Type
PDFNet.Convert.AdvancedImagingConvertOptions