loadimg is a Python package for loading images from various sources (local files, URLs, base64 strings) and converting to multiple output types (PIL, numpy, base64, ASCII art, URL). Current version 0.5.0, released 2025-03-18. Active development.
pip install loadimgVerified import paths — ran on the pinned version, not inferred.
Load an image from URL as PIL Image.
Use `from loadimg.utils import load_img`.
Explicitly specify `output_type='pil'` to get PIL Image.
Use `input_type='base64'` when passing a base64 string.
Check release notes for updates.