Convert TEX to PNG

Turn TEX files into PNG files. Read as structure instead of being run through TeX, then typeset in Libertinus Serif on A4 pages unless page_size says letter, with sections numbered as LaTeX numbers them, references, lists, tables, math, footnotes and the abstract.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop TEX files on the dialor turn it to pick what to do

Your LaTeX pages as PNG images.Each page of the document becomes one PNG, at 150 dpi unless you change it.

  1. What you get

    The LaTeX source is read as structure instead of being run through TeX. It is then typeset in Libertinus Serif on A4 pages, unless you set Page size to Letter.

    Sections are numbered as LaTeX numbers them. References, lists, tables, math, footnotes and the abstract are kept.

    Each page is written as its own PNG, so a document of several pages gives you several files.

  2. What is left behind

    Simple macros are expanded. Packages, custom layouts and images are not kept, so the pages follow the fixed typesetting above, not the layout your source describes.

  3. Size and pages

    Set Resolution (dpi) to a value from 36 to 600. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.

    Set Width (px) to give the result an exact width from 1 to 20000 pixels. The height follows the aspect ratio unless you also give it, in which case the picture can be stretched.

    Set Page size to A4, Letter, or Auto. With Auto, each page takes the size of its own content.

    Set Pages to a range such as 1-3,7 to convert only those pages. Every page is read when it is left out.

TEX and PNG.What each format is, and the options this conversion takes.

  1. 01 · dpi

    Resolution (dpi)

    How many pixels each inch of the page becomes when it is drawn as a picture. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.

    36 to 600 default 150
  2. 02 · page_size

    Page size

    The size of the pages written. A4 is the standard in most of the world and Letter in North America.

    • a4 210 × 297 mm.
    • letter 8.5 × 11 in.
    • auto Each page takes the size of its own content.
    a4 · letter · auto default a4
  3. 03 · pages

    Pages

    Converts only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.

  4. 04 · width

    Width (px)

    The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.

    1 to 20000

The formats

From · TEX

LaTeX

LaTeX source, the typesetting language of academic papers and theses.

Extensions
.tex .latex
MIME type
application/x-tex
Kind
Text and data
To · PNG

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images

In your code.The same TEX to PNG conversion through the API, for your app or your agent.

terminal
$ cv convert report.tex report/ --to png
$ cv convert report.tex report/ --to png

Questions.What people ask about TEX to PNG.

01OF 04

No. The source is read as structure and typeset again, so the pages do not come from a TeX run.

No. Packages, custom layouts and images are not kept. Simple macros are expanded.

Yes. Set Page size to Letter. A4 is the default.

Yes. Set Pages to a range such as 1-3,7, and only those pages are converted. For other changes to the PNG files afterward, try resize PNG.

More conversions.Other ways in and out of TEX and PNG.