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.7.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for tc_pdf-0.0.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5da6c2401c97b716d6413869c786c664d3f2f081c5c4b9f96f1a7788df051f4a |
|
MD5 | bc20b2aa7051c448c4ae87415a9575f0 |
|
BLAKE2b-256 | e42c61bdff53635b66ce7b756c56124bf597f2598fd300a9659aa296d87f0010 |