Sample script: TRIM attribute
An image "logo.png" is placed 1inch from the top of a page.
The same image is placed 3inches from the top of the page, but with white pixels at the edges TRIMmed off.
<GROUP LEFT= "1" TOP="3" WIDTH="0.5" HEIGHT="0.4" SHAPE="BOX" DEBUG="So good">
A DEBUG comment has been placed in each group for monitoring the progress of the document composition. In this example, click the warning button on the EscapeE toolbar to display the message:
So far at byte 100
in the console log.