wpg2svg - WPG to SVG converter

wpg2svg is a command-line converter which can convert a WPG file to SVG (Scalable Vector Graphics) format. SVG is an open standard for vector graphics and supported in all modern web browsers.

Refer to the download page on how to obtain and install wpg2svg.

Using wpg2svg

wpg2svg is very easy to use. The syntax is:

wpg2svg file.wpg

which will print out the SVG of file.wpg to the screen.

To convert file.wpg to file.svg, do the following:

wpg2svg file.wpg > file.svg

The result of the conversion (i.e. the SVG file) can be viewed in many applications which support SVG format, for example Mozilla Firefox, Inkscape, Konqueror, Batik, and many others.

Batch conversion

To convert a number of WPG files to SVG files, it is best to use the Perl script wpg2svgbatch.pl. This script should be available when wpg2svg is installed. As an example, if the WPG files to be converted reside in directory named /home/johndoe/files, then these files can converted to SVG by the following command:

wpg2svgbatch.pl -v -d /home/johndoe/files

Option -v is for verbosity, i.e. conversion progress will be shown on the screen, while option -d specifies the directory. After some time, new SVG files will be created which correspond to the WPG files in that directory. For example, file book.svg will be created for book.wpg

To see all possible options of wpg2svgbatch.pl, run it with -h option so that a help page is displayed:

wpg2svgbatch.pl -h


The following screenshot compares an original WPG picture displayed in Corel Presentations (left) and the SVG version generated using wpg2svg shown in Mozilla Firefox (right). Click on each image to enlarge.

Original picture Opened in Firefox


Check the FAQ, read the documentation, or post to the discussion forum.


This product is not manufactured, approved, or supported by Corel Corporation or Corel Corporation Limited.