Convert XPS to JPG with 2JPEG Converter

IT experts, advanced users and system administrators can make use of our command line JPEG converter 2JPEG. It lets you batch convert PDF and image files to JPG, quickly resize image files, place watermark on photos, change the quality of JPG files, create thumbnails and schedule file conversion at a specific time. If you often need to transform multiple XPS files to JPG with various parameters, 2JPEG may come in handy.

Converting XPS to JPG from your script or software

2JPEG allows to batch convert XPS to JPG format via the command line interface (CLI). 2JPEG can work offline and start conversion from the program code written in any common programming language: C++. C#, VB.NET, Pascal, VB Script or JavaScript. You can also set up file converting via 2JPEG from CMD and BAT script files.

Convert XPS to JPG with 2JPEG offline converter
2JPEG command line image converter software

You can set different parameters for your output JPEG files when converting XPS to JPG. Here are some of them:

Change JPG resolution

By default, 2JPEG transforms XPS or PDF to JPG image files with resolution of 200 DPI. To change the output JPG file resolution, just use the Rasterize option. For example:

2jpeg.exe -src "C:\In\*.xps" -dst "C:\Out" -oper Rasterize res:600

Change JPG quality

The default JPEG quality value made by 2JPEG is 85. Changing this parameter in most cases will reduce the size of the JPG file without noticeable loss of the quality. If you need to reduce the size of a file - try reducing its quality, for instance, set it to 75. Use this command line example:

2jpeg.exe -src "C:\In\*.xps" -dst "C:\Out" -jpeg quality:75

Crop, resize, reduce noise and overwrite JPG files

JPEG can apply a series of edits onto your files during a single command prompt session. Below is the example of the command line that will:

2jpeg.exe -src "C:\In\*.xps" -dst "C:\out" -oper Crop method:autocrop -oper Resize size:"1300 0" -oper Smoothingnoise -options overwrite:yes

The full list of 2JPEG command line parameters is available on this page.

XPS to JPG Converter Review

Dean Woodford, 2JPEG customer from Media One Communications, says:

"Working at a magazine publishers means we work with PDF and XPS files daily. One of the greatest needs in today's market is publishing our content online. After testing several other products on the market which offered the ability to convert our magazines to an online format such as JPEG, we found that 2JPEG offered the very best in speed, quality and reliability. It is simplicity and support offered by 2JPEG means anyone in our office can use the tool to create images of the magazines whenever they need with amazing results."

Supported Windows Versions

XPS files can be opened by XPS Viewer, which is installed by default in the latest versions of Windows including Windows Vista, Windows 7, 8 and 10. You can install the XPS Essentials Pack to open XPS files if you're still using Windows XP.

2JPEG works under 32-bit and 64-bit versions of Microsoft Windows XP, Windows Vista, Windows 7, Windows 8 and Windows 10. It supports Microsoft Windows Server 2003, 2008, 2012, 2016 and later versions.

About XPS format

The XPS format (*.XPS; OpenXPS *.OXPS) was created by Microsoft as an alternative to PDF. It is now much less popular than PDF, but some companies still use it, and the latest versions of Windows continue to include better support for XPS files than PDF files. This file format represents a document with fixed layout, keeping all the elements and the structure of the document intact. XPS format also supports features that you’d find in PDF format, such as digital signatures and digital rights management (DRM).

Other ways to convert XPS to JPEG

In addition to batch conversion via command line there's a few other ways to do it. You can do it automatically, offline or online, via desktop software, via a virtual printer, or even from your own software or script file. Learn about different ways to convert XPS to JPG in our blog!