OpenWGA 7.10 - TMLScript reference

ImageScaler
Method :

useJPEGForOutput()

On object ImageScaler
Usage Configured the scaler to use JPEG as output format
Description This is a high level method which sets "JPEG " as output format and sets the correct parameter object under scaler.imageEncodeParam. Additionally it configures a default compression level of 0.9.
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent