Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Content layer
id1267913817
Content column
id1267913817
Content block
id1267913817

$image provides a rich set of image manipulation methods that enable you to transform images during report generation. With $image, you can scale, rotate, and resize images.

Syntax

These manipulation methods can be broadly divided into five categories:

  1. Scaling Images
  2. Rotating Images
  3. Fixed-Pixels Image Resizing
  4. Fixed-Measurement Image Resizing
  5. Including External Images

Multiple image transformations will have cumulative effects. Desired sizes can be specified either as pixel counts or as measurements in inches, centimeters, or millimeters. While the parameters for resizing an image with a specific measurement (in, cm, mm, pt, or px) must be specified in a pair of quote marks, all other size parameters do not need to be specified in a pair of quote marks.

The keepRatio parameter takes either a true or false value; a true value will resize the image and keep the original image height/width ratio; a false value will only resize one axis, as set by the method name, resulting in a stretched image.

 


Panel
titleRelated pages

Children Display


Content block
id1267913816