OpenWGA 7.0 - TMLScript reference

ImageScaler
Method :

usePNGForOutput()

On object ImageScaler
Usage Configures the scaler to use PNG as output format
Description This is a high level method which sets "PNG" as output format for the scaler and sets the correct parameter object under scaler.imageEncodeParam.
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent