WordPerfect Graphics Format (WPG and VWPG)
The WordPerfect (WPG) format can contain vectored or raster images. LEADTOOLS handles both the raster images and the vector images.
Raster Images
File constants associated with this file format are:
Constant |
Read Support |
Write Support |
Description |
FILE_WPG |
1, 4, 8 BPP |
1, 4, 8 BPP |
[54] WordPerfect Graphics Format. |
Required DLL: LFWPG. For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Vector Images
VWPG (Vector Word Perfect Graphics) is a vector format created by COREL. There are two versions (version1 and version2) of the VWPG file format. Each has its own format and specifications. LEAD supports versions 1 and 2 of this format. This file format is supported by COREL DRAW 8.0.
The default extension used by this format is: WPG.
This file format does support layers and embedded raster objects, but not grouping.
File constants associated with this file format are:
Constant |
Read Support |
Write Support |
Description |
FILE_VWPG |
Yes |
Yes |
[260] WordPerfect Graphics Format (vector). |
The following table indicates which objects LEAD can load and which objects it can save:
Object: |
Load: |
Save: |
Arc |
Not Supported |
Supported |
Chord |
Not Supported |
Supported |
Circle |
Not Supported |
Supported |
Ellipse |
Not Supported |
Supported |
Elliptical Arc |
Not Supported |
Supported |
Horizontal Line |
Supported |
Not Supported |
Image |
Supported |
Supported |
Line |
Not Supported |
Supported |
Pie |
Not Supported |
Supported |
Polybezier |
Not Supported |
Supported |
Polycurve |
Supported |
Not Supported |
Polydraw |
Not Supported |
Supported |
Polygon |
Not Supported |
Supported |
Polyline |
Supported |
Supported |
Rect |
Supported |
Supported |
Text |
Supported |
Supported |
Vertical Line |
Supported |
Not Supported |
When vector WPG files are rasterized, they are 24 BPP.
Required DLL: LFVPG. For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Related Formats: CGM - Computer Graphics Metafile, CMX - Corel Presentation Exchange Format, DGN - Intergraph Format, DRW - Micrografx Designer DRaWing, DWF - DWF Format, DWG - DWG Format, DXF - Drawing Interchange Format, EMF - Windows Metafile Formats, GBR - Gerber Format, PCL - Printer Command Language Format, PCT - Macintosh Pict Format, PDF - Portable Document Format, PLT - PLT / HPGL Format, PS - PostScript Document Format, RTF - Rich Text Format, SHP - ESRI Shape Format, SVG - Scalable Vector Graphics Format, VEC - LEADTOOLS Vector Dump Format, WMF - Windows Metafile Formats,WMZ - Compressed Windows Metafile Format.