OpenWGA 7.5 - TMLScript reference
ImageScalerProperty :
quality
| On object | ImageScaler |
| Usage |
Controls the "quality" of the output format |
| Description |
Many output formats, especially those with some kind of compression algorythm, know a quality setting for output which is directly controllable via this property. Currently it is only usable for output format JPG where it controls the compression level of the image. Set a fraction value between 0 and 1 to control how much the image will be compressed, where values closer to 0 stand for higher compression and lower quality. On other formats that do not support quality setting this property returns 1. Trying to set it will result in an Error. |
| Default value |
0,9 |
| Writable | True |
| Return value |
Compression quality as a value between 0 and 1 (Number) |
| Allowed in script types |
|