ImageGear for C and C++ on Windows v19.0
enumJPEG2KResolutionModes

Specifies the mapping between JPEG 2000 Capture and Display resolutions and ImageGear DIB resolution.

Values:

IG_JPEG2K_RESOLUTION_MODE_PREFER_DISPLAY On image loading, use Display Resolution if it exists, otherwise use Capture Resolution if it exists, otherwise leave DIB resolution undefined. On image saving, write DIB resolution to the file as Display Resolution; write Capture Resolution value from metadata, if it exists.
IG_JPEG2K_RESOLUTION_MODE_PREFER_CAPTURE On image loading, use Capture Resolution if it exists, otherwise use Display Resolution if it exists, otherwise leave DIB resolution undefined. On image saving, write DIB resolution to the file as Capture Resolution; write Display Resolution value from metadata, if it exists.
IG_JPEG2K_RESOLUTION_MODE_USE_DISPLAY On image loading, use Display Resolution if it exists, otherwise leave DIB resolution undefined. On image saving, write DIB resolution to the file as Display Resolution; write Capture Resolution value from metadata, if it exists.
IG_JPEG2K_RESOLUTION_MODE_USE_CAPTURE On image loading, use Capture Resolution if it exists, otherwise leave DIB resolution undefined. On image saving, write DIB resolution to the file as Capture Resolution; write Display Resolution value from metadata, if it exists.
IG_JPEG2K_RESOLUTION_MODE_LEGACY Same behavior as was used by ImageGear v.16.0 and earlier. On image loading, use Capture Resolution if it exists, otherwise use Display Resolution if it exists, otherwise set DIB resolution to pixel per meter equivalent of 72 dpi. On image saving, write DIB resolution to the file as Display Resolution; write Capture Resolution value from metadata, if it exists. If DIB resolution is undefined, save Display Resolution as pixel per meter equivalent of 72 dpi.

Remarks:

See the description of the RESOLUTION_MODE control parameter (used by JPEG 2000 and JPX format filters).

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback