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.5.tar.gz
(4.6 kB
view details)
Built Distribution
File details
Details for the file tc_pdf-0.0.5.tar.gz
.
File metadata
- Download URL: tc_pdf-0.0.5.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65050c8a1bbe8d57dd5697b47d1c3dc3d0e20c47c197ec274416e44c83fd6538 |
|
MD5 | ba99e0b6582d7dbd4d1e0788c04e70e1 |
|
BLAKE2b-256 | 2fe6a447eeb3df6aa2b0673980ea510c1d38cfbc5f664e50755f6e29f0e0b5cb |
File details
Details for the file tc_pdf-0.0.5-py2.py3-none-any.whl
.
File metadata
- Download URL: tc_pdf-0.0.5-py2.py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3748086fb65f16b4097f979a30376326c620881e7e46dc6925cfb9a448e37507 |
|
MD5 | 3e90b8468a0db1869c3980cc3a682dbd |
|
BLAKE2b-256 | b4bfd6ac6602ba8d116a31e6e04e07821a26c8eecd252ec7cdec5351aa0ee1e3 |