A simple python library for converting latex snippets to images.
Project description
tex2image
This is a simple library to generate images from tex snippets.
It uses the standalone latex package to
produce PDFs that are already set to an appropriate size, and then uses
poppler to convert the PDF to an image.
You must make sure that pdflatex and pdftoppm are available for python to
execute.
Example usage
An easy way to use this library is via Docker.
See the example folder for a full example.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tex2image-0.1.3.tar.gz.
File metadata
- Download URL: tex2image-0.1.3.tar.gz
- Upload date:
- Size: 34.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea0a991c2fc611dc8c2b9614bfcf0cd42fec9eb1b9d00f03609e47301c9a0ed7
|
|
| MD5 |
3d889fca5f4ee7329aaa6ebb4bea3dad
|
|
| BLAKE2b-256 |
31261338ba97bde044f65b9d3a9fb8db7aa08fb30ce32b90942a2c52caf1c033
|
File details
Details for the file tex2image-0.1.3-py3-none-any.whl.
File metadata
- Download URL: tex2image-0.1.3-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7c9c933f7940d7ef61641e7b06509d8439eb1903638c186dc2fbf4ed12b2c31
|
|
| MD5 |
b18be200c78674273cd372ae0a59336c
|
|
| BLAKE2b-256 |
09aeef72cbe85df97489968999128e397ab3fa14a5816e74f7a3c2d12fbb59ce
|