module CrImage::Format::Open

Overview

Provides a convenience method for opening up image files from the filesystem. Currently supports:

image = CrImage::RGBAImage.open("image.jpg")

See Save for a convenience method to write to the filesystem.

Defined in:

cr-image/format/open.cr

Instance Method Summary

Instance Method Detail

def open(filename : String) : self #

Reads this image from file using the provided filename.


[View source]