Convert DJOT to JPG
Turn DJOT 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, code, footnotes and math.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop DJOT files on the dialor turn it to pick what to do
Djot pages as JPG images.Each page of your document becomes its own picture.
What you get
A typeset document, with one JPG for each page. Pages are A4 at 150 dpi and quality 90 unless you ask for something else.
The text is set in Libertinus Serif, and code is set in DejaVu Sans Mono. Headings, lists, tables, code, footnotes and math are all drawn on the page.
What it leaves behind
Raw blocks written for other formats are dropped. Images that were not uploaded with the file are replaced by their description text.
JPG has no transparency.
Options
Set Page size to Letter for North American pages, or to auto so each page takes the size of its own content. Set Pages to a range such as 1-3,7 to convert only those pages.
Set Resolution (dpi) between 36 and 600. Around 150 reads well on screen, and 300 is the usual choice for print. A higher value is sharper and makes a bigger file.
Quality runs from 1 to 100. Above 90 the file grows quickly while the picture barely changes.
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.
DJOT 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
Djot
Djot, a lightweight markup language by the author of pandoc.
- Extensions
- .dj .djot
- MIME type
- text
/x -djot - 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 DJOT to JPG conversion through the API, for your app or your agent.
$ cv convert report.dj report/ --to jpeg$ cv convert report.dj report/ --to jpegQuestions.What people ask about DJOT to JPG.
Not always. Each page becomes one JPEG, so a document with several pages gives several files.
Yes. Set Pages to a range such as 1-3,7, and only those pages are converted. Every page is read when it is left out.
Yes. Set Page size to Letter. The default is A4.
Images that were not uploaded become their description. Raw blocks for other formats are dropped.