Convert T2T to JPG

Turn T2T files into JPEG files. Typeset in Libertinus Serif with code in DejaVu Sans Mono on A4 pages unless page_size says letter, with headings, lists, tables, links and footnotes.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Your txt2tags page as a JPG picture.Each page is typeset and saved as its own JPEG, at 150 dpi and quality 90.

  1. What you get

    A typeset document drawn as pictures. Each page becomes one JPEG, so a long document gives you several files. Pages are A4 unless you set Page size to letter. Text is set in Libertinus Serif and code in DejaVu Sans Mono.

    Headings, lists, tables, links and footnotes are all there. The three header lines become the title, author and date, and they also stay as the first paragraph.

  2. What changes or is dropped

    Settings and comments in the T2T file are dropped. The %%date macro prints 1970-01-01, not the day you convert.

    A bare e-mail address becomes a broken link that shows mailto: before it. Images stay as links and are not drawn into the page.

    JPG is lossy, so the pages are close to the typeset result but not identical to it. JPEG has no transparency.

  3. Size and page options

    Set Resolution (dpi) between 36 and 600. Around 150 reads well on screen, and 300 is the usual choice for print. Higher values are sharper and make bigger files.

    Set Quality between 1 and 100 to choose how much detail the compression keeps. Above 90 the file grows quickly while the picture barely changes. Set Width (px) to give the exact width of the result. If you also give a height, the picture can be stretched.

    Set Pages to convert only some pages, such as 1-3,7. Set Page size to auto and each page takes the size of its own content. To change the files afterward, see resize JPG or compress JPG.

T2T and JPG.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 · 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
  5. 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

From · T2T

txt2tags

txt2tags documents, plain text with light markup that the txt2tags tool turns into many formats.

Extensions
.t2t
MIME type
text/x-txt2tags
Kind
Text and data
To · JPG

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 T2T to JPG conversion through the API, for your app or your agent.

terminal
$ cv convert report.t2t report/ --to jpeg
$ cv convert report.t2t report/ --to jpeg

Questions.What people ask about T2T to JPG.

01OF 04

Each page becomes one JPEG. A document with several pages gives several files.

No. The %%date macro prints 1970-01-01.

No. Images stay as links in the page and are not drawn.

Yes. Set Pages to a range such as 1-3,7, and only those pages are converted.

More conversions.Other ways in and out of T2T and JPG.