imageRead

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

imageRead(path) → returns any

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);

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub