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.4.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for tc_pdf-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dde7c221429e616a0418a3634caba9b5f030a1b1cd1b694145bee68a0b314a90 |
|
MD5 | 80f5dd3b3b63b4b9a4c83fa52a60fcd4 |
|
BLAKE2b-256 | 49895ec36b1b4b6bfa359229e76aedee38e7b6c0e76dcbbc3b0f187b2c8fc8a5 |