File: thumbspage/examples/mixedtypes/About-this-folder/_README.txt

Test mixed image types.  Widely supported types are in this
folder.  Open the index.html file of its Limited-Support-Types
subfolder to see how browsers handle less-supported types.

SUPPORTED: thumbspage supports all image types supported by the 
Pillow library and widely displayed by most web browsers.  
This generally includes JPEGs, PNGs, GIFs, and BMPs.

LESS (OR NOT) SUPPORTED: Pillow makes thumbnails for all types 
in this folder and its Limited-Support-Types subfolder, but the
image types in Limited-Support-Types are not displayed by all 
browsers.  This generally includes TIFF, WebP, TGA, PBM, and 
rarer image types, though some support varies per browser.
As examples:

- TIFFs are currently displayed in Safari and Windows Edge and 
  Internet Explorer, but not by the widely used Chrome or Firefox.

- WebP doesn't work older Edges, or in Safari today (but may soon).

- TGAs, PBMs, and rarer types have sketchier support, though some 
  browsers may ask to auto-open in another program.

See the User Guide's "Building Tips" (UserGuide.html#_un2) for more
on this topic, and chrome-firefox-safari-2020.png here for current
results in Chrome (top left), Firefox, and Safari (right).

Caution: the somewhat-dated Safari 9 on Mac OS has also been 
seen to crash altogether when trying to display a PBM on the
mixed-types demo pages.  Upgrade Safari or convert image types.

Some images resized for space here may have reduced quality.
Click on the generated index.html file here to view results.
Click on Limited-Support-Types/index.html for more results.

See ../../_README.txt (in examples/) for more details.

This example was added in 1.6, and regenerated in 1.7, 2.0, and 2.1.

2.1 note: thumbnail-image enhancements are expected to fail for some
GIFs here; the failing enhancement is simply skipped with a message, 
and the image's thumb is created and used normally.  Enhancements
seem to do little or nothing in Pillow today for WebP images.



[Home page] Books Code Blog Python Author Train Find ©M.Lutz