img: Utilities for working with images, using pillow¶
Functions¶
|
Returns obj if already a pillow Image or reads it from disk if given a path |
|
Crop an image to its content, trimming any empty space |
|
Returns True if this image has an alpha channel |
|
Read an image and return the data as base64 within an img html tag |
|
returns (width, height) |
|
Remove transparency from a png file |
|
Read an image and output its base64 representation |
|
Remove transparency (alpha channel) from a PIL image |