Paint the EML to a single PNG image.
Project description
eml2png
Paint the EML to a single PNG image.
Installing
You'll need wkhtmltopdf before you start working with eml2png, so install them first:
- Debian/Ubuntu:
sudo apt-get install wkhtmltopdf
- MacOSX
brew install wkhtmltopdf
- Windows and other options: check wkhtmltopdf homepage for binary installers or wiki page.
Install eml2png:
pip install eml2png
Usage
Simple example:
import eml2png
with open('message.png', 'wb') as f:
f.write(eml2png.to_png('message.eml'))
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
eml2png-0.0.1.tar.gz
(14.6 MB
view hashes)
Built Distribution
Close
Hashes for eml2png-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 263542c28164fa5cbf432bcee09a8bdc3e4bc9650c44384303241102c41c16cb |
|
MD5 | c070d25d4aa2589fb29657d13b3f8990 |
|
BLAKE2b-256 | f169e70a9e55f4f4cce035fa0d53ec871b970acf2a9416bb77dd7a344bad3f1c |