OpenWGA 7.0 - TMLScript reference

ImageScaler
Method :

isTransparencySupportedForOutput()

On object ImageScaler
Usage Returns if the chosen output format supports transparency
Description Transparency is a feature of some output formats which lets them mark pixels as "transparent", so that they display the indidual background instead of some color. Not all formats support it.

The preferred output format of the ImageScaler for transparent images is PNG.
Return value true if the format supports transparency, false otherwise (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent