LayerImage.from_file(file_path)
Open an image file with Pillow. EXIF orientation is applied, so photos from cameras and phones load upright. Any color mode is converted to RGB, or to RGBA when the image has transparency. Metadata such as EXIF data and ICC profiles is not kept.
- file_pathstr | Path
- Path to any image file Pillow can open.