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_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.3.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for tc_pdf-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4de74ec9ea18bde2fec41ea08e7e27cf2970b076663a572d2e1b4746f61aaf0 |
|
MD5 | 0d77c3e5b381fa0bd6b00609ce1ee006 |
|
BLAKE2b-256 | 176ee63b6eea1ee29a2a08f174bcdbd7dc79705834aedf36667a016ecbef7432 |