Generic Thumbnailer library
Project description
anythumbnailer
=======================
A CLI utility/Python library to create thumbnails for different file types
(including PDF, mp4 videos and Microsoft Office documents aka docx/xlsx/pptx).
All the heavy-lifting is done by commonly-used tools such as LibreOffice/unoconv,
ffmpeg, poppler and ImageMagick so format support is limited by what these tools
can process.
I built the library as I could not find a project which satisfied my needs
(as detailed in my question on StackOverflow [1]). However as I wrote something
from scratch the project has quite a few limitations:
- I'm using it only on Linux (Fedora, CentOS 6+7 to be exact). Paths to other
programs are hard-coded.
- I never tried running this on any other system such as Windows or OS X.
Very likely you will have to tweak the code in case this project is useful for
anyone but me. That being said I'm interested in making the configuration less
hard-coded (e.g. by introducing a config file with sensible syntax) and
automated tests.
Installation / Usage
-----------------------
$ python setup.py develop
$ anythumbnail SOURCEFILE [OUTPUTFILE]
[1] http://stackoverflow.com/questions/21511974/is-there-a-python-library-to-create-thumbnails-for-various-document-file-formats
=======================
A CLI utility/Python library to create thumbnails for different file types
(including PDF, mp4 videos and Microsoft Office documents aka docx/xlsx/pptx).
All the heavy-lifting is done by commonly-used tools such as LibreOffice/unoconv,
ffmpeg, poppler and ImageMagick so format support is limited by what these tools
can process.
I built the library as I could not find a project which satisfied my needs
(as detailed in my question on StackOverflow [1]). However as I wrote something
from scratch the project has quite a few limitations:
- I'm using it only on Linux (Fedora, CentOS 6+7 to be exact). Paths to other
programs are hard-coded.
- I never tried running this on any other system such as Windows or OS X.
Very likely you will have to tweak the code in case this project is useful for
anyone but me. That being said I'm interested in making the configuration less
hard-coded (e.g. by introducing a config file with sensible syntax) and
automated tests.
Installation / Usage
-----------------------
$ python setup.py develop
$ anythumbnail SOURCEFILE [OUTPUTFILE]
[1] http://stackoverflow.com/questions/21511974/is-there-a-python-library-to-create-thumbnails-for-various-document-file-formats
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
anythumbnailer-0.1.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file anythumbnailer-0.1.tar.gz
.
File metadata
- Download URL: anythumbnailer-0.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94deab302aa61392e4b14b606af73765ef506dd8ce258b7638da529fd8c6ca75 |
|
MD5 | ac0fd238c211beb0a4947fdddeb3e6f3 |
|
BLAKE2b-256 | d5d9075e7e7a8e7d3c674019b62b598056eb29087c13a4223d0bceddd0c5138e |
File details
Details for the file anythumbnailer-0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: anythumbnailer-0.1-py2.py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca827d34067cda6bdfa8007aa60f87b28ee1953b8400d2fb2a8343b100bf39cb |
|
MD5 | b54f5c7363545c8d07e637c8273cda4b |
|
BLAKE2b-256 | 798ee74764e256cbdcfaa85a9d4da01dc80dba935a96a9f50f78f02a2e847180 |