Convert TEX to JPG
Turn TEX files into JPEG 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 as page images.Each page of the source becomes its own JPG, typeset on A4 at 150 dpi.
What you get
The LaTeX is read as structure, not run through TeX. It is then typeset in Libertinus Serif. Sections are numbered as LaTeX numbers them, and references, lists, tables, math, footnotes and the abstract are kept.
Each page becomes one JPEG, so a long document gives you several files. The quality is 90 unless you ask for another value.
What it leaves behind
Simple macros are expanded. Packages, custom layouts and images are not kept, so the pages do not copy the look your own setup would give.
JPG is lossy, so the pages are not a pixel-exact copy of the typeset text. JPG has no transparency.
Options
Set Page size to Letter for 8.5 × 11 in pages. Choose Auto and each page takes the size of its own content.
Set Pages to a list such as 1-3,7 to convert only those pages. Raise Resolution (dpi) for a sharper picture, such as 300 for print. A higher value also makes a bigger file.
Set Width (px) to give the result an exact width. The height follows the aspect ratio unless you also give it, and then the picture can be stretched. To change an existing JPG afterward, use resize JPG.
TEX and JPG.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 · quality
Quality
How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
1 to 100 default 90 - 05 · 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
JPEG
Lossy photo compression that every device and browser opens. Small files, no transparency.
- Extensions
- .jpg .jpeg .jfif .jpe
- MIME type
- image
/jpeg - Kind
- Images
In your code.The same TEX to JPG conversion through the API, for your app or your agent.
$ cv convert report.tex report/ --to jpeg$ cv convert report.tex report/ --to jpegQuestions.What people ask about TEX to JPG.
No. The source is read as structure and then typeset in Libertinus Serif. Packages and custom layouts are not kept.
No. Images in the source are not kept.
Yes. Set Page size to Letter. The default is A4.
Yes. Set Pages to a range such as 1-3,7, and only those pages are converted.