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.6.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for tc_pdf-0.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3112af0dce1e146f0dd9e1125a205c5a7c663088b7e0a8436b9b90f9a72d208a |
|
MD5 | d6d2250593a6e52ba33e3af42994df61 |
|
BLAKE2b-256 | 4b307dc00728f31806ab461fe63c35565cea8927f79d105a7e53e82609e5d8e1 |