DBPix Documentation
Version 2.0

JPEGNoRecompress Property


Description:  If TRUE prevents recompression of JPEG images if both the source image and the ImageSaveFormat are JPEG, and no resampling is to be performed.
Type:  boolean
Read/Get
Write/Set:
  
 
 
Remarks:  

ValueDescription
TruePrevents recompression of JPEG images.
FalseAllows recompression of JPEG images.


If the source image when loading an image into the control is JPEG format and the ImageSaveFormat is JPEG then this option prevents the image being recompressed when it is stored.  This is often desirable since successive recompressions using JPEG format can cause significant loss of quality. 

Note:  This option will only be effective if the image does not require resampling, i.e. if the ImageResampleMode property is set to ImageResampleModeOriginal.  If this condition is met then the image is embedded directly in the datasource, overriding the JPEGEncoding and JPEGColorMode properties.

 

 

Documentation version 2.0.0