Skip to main content

A simple python library for converting latex snippets to images.

Project description

tex2image

Documentation Status

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

tex2image-0.1.2.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tex2image-0.1.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file tex2image-0.1.2.tar.gz.

File metadata

  • Download URL: tex2image-0.1.2.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.12

File hashes

Hashes for tex2image-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b8ea1be18a27702d95a37e0ee2cc4ed757d50746671c8314fdfcfcc6d901d4af
MD5 f05a248eb61df2e3df48ef39fe496cbb
BLAKE2b-256 5b18b7609393e7c69af69805104a4b8075a43bbb42346f4b94609d4b211304fe

See more details on using hashes here.

File details

Details for the file tex2image-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tex2image-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.12

File hashes

Hashes for tex2image-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0256b416b32cd4d5a41062493cc6610e7223fafa7179e2d735a0c09786c464d8
MD5 2b4056c8c1388432be7e8ebda174d176
BLAKE2b-256 ef7915fdbb2f9c6dc0ab2b0f3d0aed177315130c22331ad3236eca5010cb0c2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page