Convert XPS to PNG

Turn XPS documents into PNG files. Each page becomes one PNG, at 150 dpi unless dpi or width says otherwise.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop XPS files on the dialor turn it to pick what to do

Each XPS page as a PNG image.One PNG per page, at 150 dpi unless you set otherwise.

  1. What you get

    Each page of the XPS file is drawn as its own PNG. A document with several pages gives you several files, one per page. The default is 150 dpi, which is the Resolution (dpi) option's starting value.

    PNG is lossless and supports an alpha channel, so it suits pages with sharp text and graphics.

  2. What it leaves behind

    Shapes drawn with elliptical arcs are left out. If a page relies on such shapes, they do not appear in the PNG.

  3. Size and pages

    Set Resolution (dpi) between 36 and 600. Higher values are sharper and make 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, from 1 to 20000 pixels. The height follows the aspect ratio unless you also give it, and then the picture can be stretched.

    Set Pages to convert only some pages, such as 1-3,7. Every page is read when it is left out.

  4. Failed conversions

    A file that cannot be parsed stops the conversion with input_corrupted. This happens when the XPS file is damaged.

XPS 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 · 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.

  3. 03 · 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 · XPS

XPS

Microsoft's fixed-layout page format, the Windows counterpart to PDF.

Extensions
.xps .oxps
MIME type
application/vnd.ms-xpsdocument
Kind
Documents
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 XPS to PNG conversion through the API, for your app or your agent.

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

Questions.What people ask about XPS to PNG.

01OF 04

Yes. Each page becomes one PNG, so a multi-page file gives several images.

150 dpi. Set Resolution (dpi) to change it, anywhere from 36 to 600.

Yes. Set Pages to single pages and ranges separated by commas, such as 1-3,7.

Not everything. Shapes drawn with elliptical arcs are left out.

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