Introduit dans la version 1.1.
This module adds an optimist thumbnailer for some files which contain a JPEG thumbnails.
This formats are:
- CATIA file (CATPart, CATProduct, CATDrawing)
- Pro Engineer file (prt, asm)
Some files may contain a thumbnail. This thumbnail is stored somewhere in the file as a JPEG image. So the idea is to try to find a JPEG image in the original file and hope it is a valid image (and the thumbnail).
All JPEG file starts with a magic number (0xFFD8). This thumbnailer locates this magic number and tries to read the image with PIL. If it succeeds, it assumes it is the thumbnail. If it fails, it tries to find another magic number and retries.