Convert XPS to JPG with New 2JPEG Command Line Tool

Share Article

The newest version of 2JPEG allows conversion from XPS to JPG via the command line.

IT professionals are most likely to appreciate the newest version of the command line tool 2JPEG. It can convert PDF to JPG, quickly resize image files, place watermark on photos, change the quality of the JPG files, create thumbnails and work according to a specific scheduled time.

The newest version of 2JPEG allows conversion from XPS to JPG via the command line.

By default, 2JPEG converts PDF and XPS to JPG image files with resolution of 200 DPI. To change the output JPG file resolution, just use "Rasterize" option. For example:
2jpeg.exe -src "C:\In\*.xps" -dst "C:\Out" -oper Rasterize res:600

The default JPG file 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 image quality. Here is an example of the command line used to change the file quality for 75:
2jpeg.exe -src "C:\In\*.xps" -dst "C:\Out" -jpeg quality:75

JPEG can apply several extra operations onto the files, and they all can take place during the same command line session. Here is the example of the command line that will automatically crop the empty borders of the document, will resize each page up to 1300 pixels wide, will smooth noise and will overwrite the existing JPG image if it already exists:
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 the command line parameters available with 2JPEG is available on this page:

Dean Woodford, 2JPEG customer form Media One Communications, says:
“Working at a magazine publishers means we work with PDFs 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."

Licensing and Availability

2JPEG is free for private and evaluation usage and can be downloaded at:

Commercial license costs $149 US. Volume discounts apply starting from 5 purchased licenses.

Site license for unlimited use within one corporation and developer license for unlimited distribution as a part of the 3-rd parity software kit are available at:

Share article on social media or email:

View article via:

Pdf Print

Contact Author

Laisan Shafikova
fCoder Group, Inc.
+7 (916)539-6228
Email >
Visit website