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 details)
Built Distribution
File details
Details for the file tc_pdf-0.0.3.tar.gz
.
File metadata
- Download URL: tc_pdf-0.0.3.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cef968eb435f1b60e4c6edebab816157204b984d2ff02ed55eb74b8ebc4b839e |
|
MD5 | d925d5f14b54919a4b07a01db968703c |
|
BLAKE2b-256 | dc807da8dd3f0554f25baca04148f64a6e2823428a6a0be6dd3563a7cae76281 |
File details
Details for the file tc_pdf-0.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: tc_pdf-0.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4de74ec9ea18bde2fec41ea08e7e27cf2970b076663a572d2e1b4746f61aaf0 |
|
MD5 | 0d77c3e5b381fa0bd6b00609ce1ee006 |
|
BLAKE2b-256 | 176ee63b6eea1ee29a2a08f174bcdbd7dc79705834aedf36667a016ecbef7432 |