FolderItem.OpenAsPicture Function

Opens the FolderItem to be read as a picture and returns its image as a Picture object. Nil is returned if the image can't be read.

Syntax
result = FolderItem.OpenAsPicture( )

Return Value
Result | Picture

# Notes

If QuickTime is installed, OpenAsPicture will open any kind of graphics file QuickTime will open (JPEG, GIF, etc.). QuickTime is not required for opening PICT files on Macintosh or JPEG, GIF, and BMP files on Windows. OpenAsPicture supports loading BMP, GIF, TIFF, and XBM images on Linux. OpenAsPIcture does not open JPEG images on Linux. The Windows IDE requires QuickTime to build Macintosh applications. OpenAsPicture uses the full resolution of the image, rather than assuming 72 dpi.