Image processing

Images are processed by the Python Imaging Library (Pillow) which supports a wide variety of image formats. Processed images are stored in the Object store using the webp format. Images are resampled using a Lanczos filter.

Scaling

By default, images are scaled to fit within the bounds of 4200x2000 pixels for display in the reader, and 1680x800 pixels for use as thumbnails. These values are optimized for larger displays and may be changed in the configuration file if you do not require such high resolutions.