wpg2svg - WPG to SVG converter
Refer to the download page on how to obtain and install wpg2svg.
wpg2svg is very easy to use. The syntax is:
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
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:
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.
This product is not manufactured, approved, or supported by Corel Corporation or Corel Corporation Limited.