Full Name | XPS (XML Paper Specification) |
Format ID | IG_FORMAT_XPS = 80 |
File Extension(s) | *.xps |
Data Type | Vector image |
Data Encoding | Binary |
ImageGear Multipage Support | Yes |
ImageGear Alpha Channel Support | No |
ImageGear Platforms Support | WIN32, WIN64, .NET, .NET64 |
To support the XPS format, attach the ImageGear XPS Component to Core ImageGear. |
ImageGear Supported Versions:
- Version 1.0
ImageGear Supported Features:
- IG_FLTR_DETECTSUPPORT - autodetection
- IG_FLTR_PAGEREADSUPPORT - single page file reading
- IG_FLTR_MPAGEREADPSUPPORT - multi-page file reading
- IG_FLTR_PAGEINSERTSUPPORT - single-page file writing
- IG_FLTR_MPAGEWRITEPSUPPORT - multi-page file writing
- IG_FLTR_MPDATASUPPORT - faster multi-page access by storing private format data (used only with IG_mpi_... and IG_mpf_... API)
ImageGear Read Support:
- IG_COMPRESSION_NONE - XPS data
ImageGear Write Support:
- Vector
- IG_COMPRESSION_NONE - XPS data
- Raster
- IG_COMPRESSION_NONE
- Grayscale: 1, 8, 16 bpp;
- RGB: 24, 48 bpp;
- RGBA: 32, 64 bpp;
- RGBPA: 32, 64 bpp;
- CMYK: 32 bpp.
- IG_COMPRESSION_NONE
ImageGear Filter Control Parameters:
Filter Control Parameter | Type | Default Value | Available Values | Description |
RESOLUTION_X | AM_TID_UINT | 96 | Any positive integer | This parameter specifies the horizontal resolution in dots-per-inch during the XPS document conversion into a raster image. The greater this value, the higher the quality of the raster image you get after rasterization. The DIB of the output raster image has this value as an X resolution. |
RESOLUTION_Y | AM_TID_UINT | 96 | Any positive integer | This parameter specifies the vertical resolution in dots-per-inch during the XPS document conversion into a raster image. The greater this value, the higher the quality of the raster image you get after rasterization. The DIB of the output raster image has this value as an Y resolution. |
Non-Image Data Structure:
XML Paper Specification file format has different non-image data that can be stored in a package as XML or resources. The XML Paper Specification metadata design allows reading and writing the following non-image data:
Tag Name | Tag ID | Description |
Category | IGMDTAG_ID_XPS_CATEGORY | The category of the content that is contained in the file. |
ContentStatus | IGMDTAG_ID_XPS_CONTENTSTATUS | Example ContentStatus values include "Draft", "Reviewed", and "Final". |
ContentType | IGMDTAG_ID_XPS_CONTENTTYPE | Example ContentType values include "Whitepaper", "Security Bulletin", and "Exam". |
Created | IGMDTAG_ID_XPS_CREATED | The date and time the file was initially created. |
Creator | IGMDTAG_ID_XPS_CREATOR | The individual or entity that created the file and its content. |
Description | IGMDTAG_ID_XPS_DESCRIPTION | The Description may include but is not limited to: an abstract, table of contents, reference to a graphical representation of content, or a free-text account of the content. |
Identifier | IGMDTAG_ID_XPS_IDENTIFIER | A value that unambiguously identifies the file and its content. |
Keywords | IGMDTAG_ID_XPS_KEYWORDS | A delimited set of keywords to support searching and indexing the Package and content.The Keywords property typically contains a list of terms that are not available elsewhere in file metadata. |
Language | IGMDTAG_ID_XPS_LANGUAGE | A value that identifies the file content language. |
LastModifiedBy | IGMDTAG_ID_XPS_LASTMODIFIEDBY | The user who last modified the file content. |
LastPrinted | IGMDTAG_ID_XPS_LASTPRINTED | The date and time the file content was last printed. |
Modified | IGMDTAG_ID_XPS_MODIFIED | The date and time the file was last changed. |
Revision | IGMDTAG_ID_XPS_REVISION | The revision number of the file. The Revision property indicates the number of changed saves or revisions. The application is responsible for updating the Revision property value after each revision. |
Subject | IGMDTAG_ID_XPS_SUBJECT | The topic of the file content. |
Title | IGMDTAG_ID_XPS_TITLE | The name given to the file and its content. |
Version | IGMDTAG_ID_XPS_VERSION | The version number of the file. |
Comments:
The XPS Document format represents a set of related pages with a fixed layout, which are organized as one or more documents, in the traditional meaning of the word. A file that implements this format includes everything necessary to fully render those documents on a display device or physical medium (for example, paper). This includes all resources such as fonts and images that might be required to render individual page markings.
In addition, the format includes optional components that build on the minimal set of components required to render a set of pages. This includes the ability to specify print job control instructions, to organize the minimal page markings into larger semantic blocks such as paragraphs, and to physically rearrange the contents of the format for easy consumption in a streaming manner, among others.
The XPS format supports HD Photo images natively for raster images.
The XPS format conception is similar to the Adobe PDF. It is a fixed-layout document format designed to preserve document fidelity, so that documents look the same and as they are intended on any device. While Adobe PDF is based on PostScript the XPS format is based on XML. Adobe PDF however includes some dynamic capabilities not supported by the XPS format, and cannot be fully replaced by XPS.
Finally, the XPS Document format implements the common package features specified by the Open Packaging Conventions specification that support digital signatures and core properties. An XPS file is a ZIP archive conforming to the Open Packaging Convention.
The XPS format intended as the replacement for the EMF print spooler format. The format serves as the page description language for printers. For printers supporting XPS, this eliminates an intermediate conversion to a printer-specific language, increasing the reliability and fidelity of the printed output.
References Used:
XML Paper Specification v. 1.0:
http://www.microsoft.com/whdc/xps/xpsspec.mspx