Skip to main content

A Python package to make gif from images and videos

Project description

pygif

A Python package to make gif from images and videos

Usage

Following methods can be utilized to make gif

from inrgif import images_to_gif, video_to_gif
import glob
from PIL import Image
#from video..
obj = video_to_gif.make_gif("videoplayback.mp4")
images_to_gif.save(obj,"video.gif")

#from folder all images.
#here folder name is test
bytesio_object= images_to_gif.make_gif("test")
images_to_gif.save(bytesio_object,"folder.gif")

#from objects
frames = [Image.open(image) for image in glob.glob(f"{'test'}/*")]
bytesio_object = images_to_gif.frame_gif(frames)
images_to_gif.save(bytesio_object,"frames.gif")

To uninstall execute following..

pip uninstall geosky-1.0.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inrgif-1.0.2.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file inrgif-1.0.2.tar.gz.

File metadata

  • Download URL: inrgif-1.0.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.10.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.4

File hashes

Hashes for inrgif-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a6b68083a3eed9fd42fe4aa267d907b4b862f54f2ee38c688094415c05a8aa54
MD5 8ae2a2494af0d30a3e20295b11fcb601
BLAKE2b-256 5b0f945523eb887e0088fdf672144255193ef81bcce4a27fab976c45a49f4064

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page