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.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.0.tar.gz (3.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: inrgif-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 35ce5ea8092f5488e0d6edf1e54848cc10439c116e8263fbcfb48dd256ea2eef
MD5 6cba9cab8b9cef89a88d99c620956f40
BLAKE2b-256 d43f11dd20c30817ce89591cb5f06a874cca72d61e401d83346e914dc5803514

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