Convert TWIKI to WEBP
Turn TWIKI files into WEBP 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 topics as WebP pictures.Each page of the topic is typeset and saved as its own WebP image.
What you get
The topic is typeset on A4 pages in Libertinus Serif, with code in DejaVu Sans Mono. Headings, lists, tables, links and footnotes are kept. Each page becomes one WebP at 150 dpi and quality 90 unless you ask otherwise.
Set Page size to letter for Letter pages. Set it to auto and each page takes the size of its own content.
What changes
Macros such as %TOC% and %DATE% are left out. Topic metadata lines such as %META:TOPICINFO stay in the picture as text.
WikiWords become links to topic names. HTML written in the topic is shown as text, not run.
Sharpness and size
Set Resolution (dpi) 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 Lossless to keep text edges exact. The result is much bigger than a lossy one. Otherwise Quality from 1 to 100 sets how much detail is kept, and above 90 the file grows quickly while the picture barely changes.
Set Width (px) to give the exact width of the result. WebP holds at most 16383 pixels a side, so width stops there. To change the size of a finished image, try resize WEBP.
TWIKI and WEBP.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 · lossless
Lossless
Encodes without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.
- 03 · 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.
- 04 · 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.
- 05 · 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 - 06 · 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 16383
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
WebP
Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.
- Extensions
- .webp
- MIME type
- image
/webp - Kind
- Images
In your code.The same TWIKI to WEBP conversion through the API, for your app or your agent.
$ cv convert report.twiki report/ --to webp$ cv convert report.twiki report/ --to webpQuestions.What people ask about TWIKI to WEBP.
Yes. Each page becomes one WebP, so a topic 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.
No. Macros such as %TOC% and %DATE% are left out. Topic metadata lines such as %META:TOPICINFO stay as text.
Set Lossless to keep text edges exact. Raising Resolution (dpi) also makes the page sharper.