Convert TWIKI to PNG
Turn TWIKI files into PNG 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 PNG images.Each page of the topic is drawn as a picture, A4 at 150 dpi by default.
What you get
The topic is typeset in Libertinus Serif, with code in DejaVu Sans Mono. Headings, lists, tables, links and footnotes are drawn on the page.
Each page becomes one PNG, so a long topic gives you several files. Pages are A4 unless you set Page size to letter.
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 drawn as markup.
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 Page size to auto to let each page take the size of its own content. Set Pages to a range such as 1-3,7 to convert only those pages.
Set Width (px) to give the result an exact width in pixels. The height follows the aspect ratio unless you also give it, in which case the picture can be stretched. To change the size of a finished image, use resize PNG.
TWIKI 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
TWiki Markup
TWiki and Foswiki topic markup from company intranets and project wikis.
- Extensions
- .twiki
- MIME type
- text
/x -twiki - 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 TWIKI to PNG conversion through the API, for your app or your agent.
$ cv convert report.twiki report/ --to png$ cv convert report.twiki report/ --to pngQuestions.What people ask about TWIKI to PNG.
One PNG for each page, so a long topic gives several files.
No. Macros such as %TOC% and %DATE% are left out of the picture.
No. HTML written in the topic is shown as text.
Yes. Set Pages to a range such as 1-3,7, and only those pages are converted.