Imaging

Purpose:
Enable processing of images within XSL transforms.
Namespace:
urn:WebWorks-XSLT-Extension-Imaging
Prefix:
wwimaging
Returns:

Imaging Info XML Document.

Namespace:
urn:WebWorks-Imaging-Info
Prefix:
wwimageinfo
Format:

Returns information about a particular image file, including width and height, image format, bit-depth, path on system, etc.

<wwimageinfo:ImageInfo format="jpeg" width="200" height="300" bitdepth="32" grayscale="false" path="C:\\image.jpg" />
Methods:
GetInfo(string imageFilePath):

xx

Returns:
Imaging Info XML Document
Example:
xx
Transform(string inputImageFilePath, string outputImageFormat, int outputImageWidth, int outputImageHeight, string outputImageFilePath):

Create a new version of an image with a different format or with different dimensions.

Returns:
Imaging Info XML Document
Example:
xx
RasterizePostScript(string postScriptFilePath, int renderHorizontalDPI, int renderVerticalDPI, int renderWidth, int renderHeight, string targetImageFormat, int targetImageColorDepth, bool targetImageGrayscale, bool targetImageTransparent, bool targetImageInterlaced, int targetImageQuality, string targetFilePath):

Render a PostScript file to a known image format such as BMP, JPEG, PNG, or GIF.

Returns:
Imaging Info XML Document
Example:
xx
RasterizePostScript(string postScriptFilePath, bool watermark, int renderHorizontalDPI, int renderVerticalDPI, int renderWidth, int renderHeight, string targetImageFormat, int targetImageColorDepth, bool targetImageGrayscale, bool targetImageTransparent, bool targetImageInterlaced, int targetImageQuality, string targetFilePath):

Render a PostScript file to a known image format such as BMP, JPEG, PNG, or GIF.

Returns:
Imaging Info XML Document
Example:
xx
PostScriptToPDF(string postScriptFilePath, string pdfJobSettings, string pdfFilePath):

Convert the specified PostScript file to a PDF.

Returns:
Boolean.
Example:
xx

DevCenter/Documentation/ExtensionObjects/ePublisher/Imaging (last edited 2010-08-23 19:05:46 by BenAllums)