A python package for loading images
Installation
pip install loadimg
Usage
from loadimg import load_img
load_img(any_img_type_here,output_type="pil",input_type="auto")
Supported types
- Currently supported input types - numpy, pillow, str(both path and url), base64, auto
- Currently supported output types - numpy, pillow, str, base64
- thanks to @KingNish24 for improving base64 support and adding the
input_type
parameter - thanks to @Saptarshi-Bandopadhyay for supporting base64 and improving the docstrings
- thanks to @Abbhiishek for improving image naming