Convert TWIKI to JPG
Turn TWIKI 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 TWIKI files on the dialor turn it to pick what to do
TWiki pages as JPG images.Each page of the topic becomes one JPG, at 150 dpi and quality 90 unless you change them.
What you get
The topic is typeset in Libertinus Serif, with code in DejaVu Sans Mono, on A4 pages. Set Page size to letter for Letter pages, or to auto to give each page the size of its own content.
Headings, lists, tables, links and footnotes are kept. The result is one or more files, such as one JPG per page.
What changes
Macros such as %TOC% and %DATE% are left out. Topic metadata lines such as %META:TOPICINFO stay as text.
WikiWords become links to topic names. HTML written in the topic is shown as text, not run as markup.
Options
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 Quality from 1 to 100 to choose how much detail lossy compression keeps. Above 90 the file grows quickly while the picture barely changes.
Set Pages to convert only some pages, such as 1-3,7. 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, and then the picture can be stretched. To change a JPG after the conversion, you can resize JPG or compress JPG.
TWIKI 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
TWiki Markup
TWiki and Foswiki topic markup from company intranets and project wikis.
- Extensions
- .twiki
- MIME type
- text
/x -twiki - 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 TWIKI to JPG conversion through the API, for your app or your agent.
$ cv convert report.twiki report/ --to jpeg$ cv convert report.twiki report/ --to jpegQuestions.What people ask about TWIKI to JPG.
No. Macros such as %TOC% and %DATE% are left out. Topic metadata lines such as %META:TOPICINFO stay as text.
One JPG for each page. A long topic 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.
It is shown as text. It is not drawn as markup.