To be insterted to Properties-Table in TSref / Functions / imgResource:
----------------------------------------------
Property: noRescale
Data type: boolean
Description:
If set, image will never be rescaled. Only width and height are calculated according to the other properties, so that image is _displayed_ resized, but original files is used.
Example:
file = test.jpg // has 1600 x 1200 pixels)
file.width = 240m
file.height = 240m
file.noRescale = 1
results in
<img src="test.jpg" width="240" height="180" />
// note src="test.jpg" is the _original_ file.
Usage:
For creating PDFs or printing of pages the original file could provide much better quality as a recaled one
Default:
----------------------------------------------
Property: resolution
Data type: int
Description:
If set, image will be rescaled to other resolution than displayed. Default resolution (each pixel in image corresponds to one pixel on screen) is assumed to be 72dpi
Setting is ignored, if resolution < 36
If resolution-setting would require the image to be upscaled, then no upscaling takes place but the original file is beeing delivered (as if noRescale would be set)