klyn.gui.images.BitmapImage.BitmapImage
constructor
public BitmapImage(file as String)
Description

Decodes the first frame/page without modifying the source file. PNG, JPEG, GIF, BMP and TIFF availability follows platform codecs. Check frameCount first when accepting animated/multipage input. Throws IOException for unsupported/corrupt files or oversized images. Example: image = BitmapImage("photo.jpg").