PDF Preview
Project description
This extension provides preview for PDF.
Features
Given a PDF URL return preview image of first page
Installation
Prerequisite: Following system libraries are required:
Install using pip
$ pip install tc_pdf
Register the extension within Thumbor’s configuration file
COMMUNITY_EXTENSIONS = [ 'tc_pdf', ... ]
Launch thumbor with the Thumbor Community custom application:
$ thumbor -a tc_core.app.App
Usage
tc_pdf handler route requires /pdf/ in URL after all filters but before the resource URL part e.g.
http://<thumbor_server>/unsafe/240x240/smart/pdf/localhost:8000/media/document/test.pdf
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tc_pdf-0.0.5.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for tc_pdf-0.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3748086fb65f16b4097f979a30376326c620881e7e46dc6925cfb9a448e37507 |
|
MD5 | 3e90b8468a0db1869c3980cc3a682dbd |
|
BLAKE2b-256 | b4bfd6ac6602ba8d116a31e6e04e07821a26c8eecd252ec7cdec5351aa0ee1e3 |