imageRead

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

imageRead(path) → returns any

imageRead Argument Reference

path string
Required

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

Links more information about imageRead

Examples
Sample code invoking the imageRead function

Read an image from URL and output

imgObj = imageRead("http://cfdocs.org/apple-touch-icon.png");
cfimage(action="writeToBrowser", source=imgObj);

Fork me on GitHub