Skip to main content

Paint the EML to a single PNG image.

Project description


Build Status Coverage Status Documentation Status PyPI - Python Version PyPI - Wheel PyPI version PyPI - Downloads Docker Cloud Build Status Docker Pulls

Paint the EML to a single PNG image.


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

Install eml2png:

pip install eml2png


Simple example:

import eml2png

with open('message.png', 'wb') as f:

Export your wkhtmltopdf's install path if not /usr/bin/wkhtmltoimage:

export WKHTMLTOIMAGE="/usr/local/bin/wkhtmltoimage"

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

eml2png-0.0.2.tar.gz (14.6 MB view hashes)

Uploaded source

Built Distribution

eml2png-0.0.2-py2.py3-none-any.whl (6.0 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page