Skip to main content

simple and fast JPEG thumbnail reader

Requirements

  • Python Imaging Library

Features

  • supports EXIF thumbnail

  • supports Adobe Photoshop thumbnail

  • import a partial JPEG data

An example

from cStringIO import StringIO
import Image
import JpegThumbnail

try:
    thumbnail = JpegThumbnail.read(filelikeobject or filename)
except JpegThumbnail.error:
    "parse error"
except IOError:
    "open or read error"
else:
    im = Image.open(StringIO(thumbnail))
    im.show()

Notes

  • In most case, JPEG thumbnail size is about 100 pixel.

  • In most case, thumbnail is found in early 10KiB of file data. In bad case, it’s found in ealry 100KiB.

History

0.1.0.0

  • first release

Metadata

Release files for JpegThumbnail 0.1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for JpegThumbnail 0.1.0.0
File Size Uploaded Provenance Actions
JpegThumbnail-0.1.0.0.zip 3.6 kB Without provenance Details for JpegThumbnail-0.1.0.0.zip

Release files / JpegThumbnail-0.1.0.0.zip

Download URL JpegThumbnail-0.1.0.0.zip
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
05d7bc15712ba75582b5a252772ab2ed82d4986f80ea8916b0a1cfd2046b528d
BLAKE2b-256 checksum
How to use checksums
8c2b3689842c85f6b3a651a0f6ee37bcddea53624b95dbe78206c7eb08d6889d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for JpegThumbnail 0.1.0.0

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.

Release history Release notifications | RSS feed

This release

0.1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page