PDF Preview
Project description
This extension provides preview for PDF.
Features
Given a PDF URL return preview image of first page
Installation
Install using pip
$ pip install tc_pdf
Register the extension within Thumbor’s configuration file
COMMUNITY_EXTENSIONS = [ 'tc_shortener', ... ]
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.2.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for tc_pdf-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31f24b6fb732c74abd2140f871915eff417febb94a3df34ad361bdc66cd520a7 |
|
MD5 | 90e0f92213c9da49f7adb273255b0093 |
|
BLAKE2b-256 | 1b4a4dbf21a61111e0e885ef740c8b808f414bc8fb8ee0575d8ef1414b8bea4f |