Reads the source pathname or URL and creates a ColdFusion image.

imageRead(path) → returns Image

Argument Reference for the imageRead function


Required: Yes
On-disk or in-memory pathname or URL of the source image.

Examples sample code invoking the imageRead function

Using script syntax

Read an image from URL and output

imgObj = imageRead("");
cfimage(action="writeToBrowser", source=imgObj);

Fork me on GitHub