EPSConvert
EPSConvert is a tool to convert EPS images into PNG format.
Installation
$ pip install foliantcontrib.epsconvert
Config
To enable the preprocessor, add epsconvert to preprocessors section in the project config:
preprocessors:
- epsconvert
The preprocessor has a number of options:
preprocessors:
- epsconvert:
convert_path: convert
cache_dir: !path .epsconvertcache
image_width: 0
targets:
- pre
- mkdocs
- site
- ghp
convert_path
: Path to convert binary. By default, it is assumed that you have this command in PATH. ImageMagick must be installed.
cache_dir
: Directory to store processed images. They may be reused later.
image_width
: Width of PNG images in pixels. By default (in case when the value is 0), the width of each image is set by ImageMagick automatically. Default behavior is recommended. If the width is given explicitly, file size may increase.
targets
: Allowed targets for the preprocessor. If not specified (by default), the preprocessor applies to all targets.
Metadata
Release files for foliantcontrib.epsconvert 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| foliantcontrib.epsconvert-1.0.7.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| foliantcontrib.epsconvert-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / foliantcontrib.epsconvert-1.0.7.tar.gz
| Download URL | foliantcontrib.epsconvert-1.0.7.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d90f1e4145a5b8183bff263cfe5a4abf995bb315965c1d78bace590a43773522
|
|
BLAKE2b-256 checksum How to use checksums |
1be03cecf034b2f55b914e6bf180fafd671521c75f2a8af36ce8989f3e32095c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.11.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
|
Release files / foliantcontrib.epsconvert-1.0.7-py3-none-any.whl
| Download URL | foliantcontrib.epsconvert-1.0.7-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8db877d926e64e7d7e44fa8f40dcd69e119ace0cb0ee7bcb586edd4e20723b37
|
|
BLAKE2b-256 checksum How to use checksums |
21e76a7013dc0b6c66358792a4452cecacfb0cd8d762c2d24fed911eaf017a95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.11.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
|