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.
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.
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.
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.
- 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 - 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.
a4210 × 297 mm.letter8.5 × 11 in.autoEach page takes the size of its own content.
- 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.
- 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
LaTeX
LaTeX source, the typesetting language of academic papers and theses.
- Extensions
- .tex .latex
- MIME type
- application
/x -tex - Kind
- Text and data
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.
$ cv convert report.tex report/ --to png$ cv convert report.tex report/ --to pngQuestions.What people ask about TEX to PNG.
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.