Install via pip
pip install inspyre
or install a specific version
pip install inspyre==1.1.2
Convert a tall Image into an Instagram Grid (3xN) Width of 3 image height of N. If height is not an integral multiple of Width then additional black margin will be automatically added to the image.
from inspyre.insta import instagrid instagrid('path_to_image/image.jpg')
Convert a wide image into a small pieces so that they look as a continuous image in a carousal.
from inspyre.insta import instalong instalong('path_to_image/image.jpg')
instacarousal is same as
instalong . The name has been changed upon the popular suggestions.
from inspyre.insta import instacarousal instacarousal('path_to_image/image.jpg')