CrImage::Format::Open
Provides a convenience method for opening up image files from the filesystem. Currently supports:
- PPM (
.ppm) - WebP (
.webp) - JPEG (
.jpeg,.jpg) - PNG (
.png)
image = CrImage::RGBAImage.open("image.jpg")
See Save for a convenience method to write to the filesystem.