< Thumbor

Thumbor/PDF

PDF is handled by our custom Ghostscript engine. It handles multipage support via the custom "page" filter, which simply exposes the page URL parameter to the engine. It attempts to render the requested page and if that fails (eg. the requested page is out of bounds), it defaults to the first page.

The page is extracted as a high quality JPEG and passed to our default custom Imagemagick engine for actual resizing.

This article is issued from Wikimedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.