Convert POD to PNG

Turn POD 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 POD files on the dialor turn it to pick what to do

Perl manuals as PNG pages.Each page of the typeset document becomes one picture.

  1. What you get

    One or more PNG files, one per page. The text is typeset in Libertinus Serif, with code in DejaVu Sans Mono, on A4 pages unless you set Page size to letter. Headings, lists, tables, links and footnotes are kept.

    Pages are drawn at 150 dpi unless you set Resolution (dpi) or Width (px).

  2. What changes

    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.

  3. Size and pages

    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 Width (px) to give the result an exact width. The height follows the aspect ratio unless you also give it, in which case the picture can be stretched.

    Set Page size to auto and each page takes the size of its own content. Set Pages to a range such as 1-3,7 to convert only those pages.

POD and PNG.What each format is, and the options this conversion takes.

  1. 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
  2. 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.

    • a4 210 × 297 mm.
    • letter 8.5 × 11 in.
    • auto Each page takes the size of its own content.
    a4 · letter · auto default a4
  3. 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.

  4. 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

From · POD

Perl POD

Plain Old Documentation, the markup of Perl manuals and module docs.

Extensions
.pod
MIME type
text/x-pod
Kind
Text and data
To · PNG

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 POD to PNG conversion through the API, for your app or your agent.

terminal
$ cv convert report.pod report/ --to png
$ cv convert report.pod report/ --to png

Questions.What people ask about POD to PNG.

01OF 04

Yes. Each page of the typeset document becomes one PNG, so a long manual gives several 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.

A4 unless you set Page size to letter. Set it to auto and each page takes the size of its own content.

They are drawn at 150 dpi by default. Raise Resolution (dpi) for a sharper picture, up to 600, or set Width (px) for an exact width. To shrink the files afterward, try compress PNG.

More conversions.Other ways in and out of POD and PNG.