Reads the source pathname or URL and creates a ColdFusion image.
imageRead(path)
returns any
Name | Type | Required | Default | Description |
---|---|---|---|---|
path | string | Yes | On-disk or in-memory pathname or URL of the source image. |
Read an image from URL and output
imgObj = imageRead("http://cfdocs.org/apple-touch-icon.png");
cfimage(action="writeToBrowser", source=imgObj);