## page was renamed from DevCenter/Documentation/ExtensionObjects/Imaging = Imaging = {{{#!rst Purpose: Enable processing of images within XSL transforms. Namespace: urn:WebWorks-XSLT-Extension-Imaging Prefix: wwimaging .. _Imaging Info XML Document: 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. :: 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 }}}