pygifdec
a python wrapper for https://github.com/lecram/gifdec
Usage
import pygifdec
gif = pygifdec.open("cube.gif")
shape = (gif.width, gif.height)
print(shape)
pring(gif.size)
frame = bytearray(gif.size)
gif.render_frame(frame)
gif.get_frame()
from PIL import Image
for i in range(10):
ret = gif.get_frame()
if ret < 0:
break
gif.render_frame(frame)
img = Image.frombuffer("RGB", shape, bytes(frame))
img.show()
Metadata
Release files for pygifdec 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pygifdec-0.0.2.tar.gz | 7.6 kB | Without provenance | Details for pygifdec-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pygifdec-0.0.2-cp310-cp310-macosx_10_9_universal2.whl | CPython 3.10 | CPython 3.10 | macOS 10.9+ universal2 (ARM64, x86-64) | Details for pygifdec-0.0.2-cp310-cp310-macosx_10_9_universal2.whl |
Total release size: 24.0 kB
Release files / pygifdec-0.0.2.tar.gz
| Download URL | pygifdec-0.0.2.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
896ea47ff88ad2c850b8a5da9b6a877b3ba3d97148796abceca94b4c9bceeaa8
|
|
BLAKE2b-256 checksum How to use checksums |
c0cfd6354f5c5990f4b5b31099574acc102b67957047b112d08b0b8fc23a9e68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / pygifdec-0.0.2-cp310-cp310-macosx_10_9_universal2.whl
| Download URL | pygifdec-0.0.2-cp310-cp310-macosx_10_9_universal2.whl |
|---|---|
| Size | 16.3 kB |
| Tags | CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
a0b97abca6030d3564c782500386979779bb34e65c5695098175d090a9c65e09
|
|
BLAKE2b-256 checksum How to use checksums |
255b92e9e7dcdd1f29e9a7af11ceeae417f7f3ac8e6029840cf67a1e62b03f18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for pygifdec 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.