Opens an image file and returns an image object capsule.
Supports opening `.jpg` and `.png` files.
planetcnc.image_open(filename)
#! /usr/bin/env python import planetcnc # Open an image file img = planetcnc.image_open("image.png") if img: print("Image opened successfully.") else: print("Failed to open image.")