LEADTOOLS Vector C++ Class Library Help > LEADTOOLS Vector Features > File Formats > Color and Grayscale > File Formats: 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 only version2 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.
LEAD can load the following objects: Poly Curve, Rect, Vertical Line, Horizontal Line, Poly Line, Text, and Image.
LEAD can save the following objects: Line, Polyline, Rect, Polygon, Ellipse, Circle, Arc, Elliptical arc, Pie, Chord, Text, Polydraw, Polybezier, and Image.
File constants associated with this file format are:
Constant |
Read Support |
Write Support |
Description |
FILE_VWPG |
Yes |
Yes |
[260] WordPerfect Graphics Format (vector). |
FILE_VWPG1 |
Yes |
Yes |
[328] WordPerfect Graphics Format (vector). |
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, NAP- NAPLPS Format, PCL - Printer Command Language Format, PCT - Macintosh Pict Format, PDF - Portable Document Format, PS - PostScript Document Format, RTF - Rich Text Format, PLT - PLT / HPGL Format, SHP - ESRI Shape Format, SVG - Scalable Vector Graphics Format, VEC - LEADTOOLS Vector Dump Format, WMF - Windows Metafile Formats,WMZ - Compressed Windows Metafile Format, , MIF - MapInfo Interchange File Format, E00 - ArcInfo Interchange File Format