Convert POD to WEBP
Turn POD 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 POD files on the dialor turn it to pick what to do
Perl manuals as WebP pictures.Each page of the POD becomes one WebP, typeset at 150 dpi and quality 90.
What you get
One WebP per page, drawn from your POD. The text is set in Libertinus Serif, with code in DejaVu Sans Mono, on A4 pages. Headings, lists, tables, links and footnotes are typeset in the pages.
Set Page size to letter for Letter pages. Set it to auto and each page takes the size of its own content.
What changes or drops
Verbatim paragraphs become code. Links to other manual pages keep only their name. Paragraphs marked with =for comment are dropped.
=begin blocks for HTML pass through only where HTML can be kept.
Sharpness and size
Set Resolution (dpi) between 36 and 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 between 1 and 100 for lossy compression. Above 90 the file grows quickly while the picture barely changes. Set Lossless to keep text edges exact, which gives a much bigger file.
Set Width (px) for an exact width. The height follows the aspect ratio unless you also give it, in which case the picture can be stretched. WebP holds at most 16383 pixels a side, so width stops there. To change the size of a finished picture, see resize WEBP.
POD 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
Perl POD
Plain Old Documentation, the markup of Perl manuals and module docs.
- Extensions
- .pod
- MIME type
- text
/x -pod - 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 POD to WEBP conversion through the API, for your app or your agent.
$ cv convert report.pod report/ --to webp$ cv convert report.pod report/ --to webpQuestions.What people ask about POD to WEBP.
Yes. Each page becomes one WebP, so you get one or more files.
Yes. Set Pages to single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.
Turn on Lossless. The result is identical to the input in pixels, and much bigger than a lossy one.
16383 pixels. WebP holds at most that many pixels a side.