Template Keywords

Image - image

The /image/ keyword draws a bitmap that is uploaded to SM-REports Online. This keyword is most commonly used including a school crest or logo on a report.

/image/,<file name>,<left>,<top>,<horizontal resolution>,<vertical resolution>

The left and top values specify the top left corner of the image. Instead of specifying the size of the frame for the image with a right and bottom values, the resolution of the bitmap is specified.

The resolution is the value in dpi (dots per inch).

The bitmap must be a PNG file should be 24 bits of colour without an alpha (transparency) channel.

Example

This draws the school crest which is a bitmap file that was originally scanned at 600 dpi at the position 1 cm in from the top left corner of the page.

/image/,crest.png,100,100,600,600

 

Contents
Search