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
JpegThumbnail-0.1.0.0.zip 3.6 kB Details

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

Release history Release notifications | RSS feed

This release

0.1.0.0 This release

1 release file

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