46
PEERNET Document Conversion Service 3.0
Utilities Guide
87
Image Converter Options
These options control the behavior of the image converter used by Document Conversion Service. Table values in bold text
are the default value for that setting.
Sample Profile
<?xml version="1.0" encoding="utf-8"?>
<Profile Type="0"
DisplayName="Image Converter 300dpi"
Description ="Create images using the PEERNET image converter.">
<Settings>
<!-- Image Conversion options, use LEAD first -->
<add Name="ConverterPlugIn.PNImageConverter.ImageToolkitOrder" Value="LEAD;WIC"/>
<add Name="ConverterPlugIn.PNImageConverter.LEADScalingMode" Value="BICUBIC"/>
<add Name="ConverterPlugIn.PNImageConverter.WICScalingMode" Value="BICUBIC"/>
<!-- Output file options -->
<add Name="Devmode settings;Resolution" Value="300"/>
<add Name="Save;Output File Format" Value="TIFF Multipaged"/>
...
</Settings>
</Profile>
Conversion Settings - Toolkits and Scaling Modes
Name:
ConverterPlugIn.PNImageConverter.ImageToolkitOrder
This string lists, in the order in which they will be used, the image tool kits that PEERNET Image
Converter will use to try and convert an image. The default value, "LEAD;WIC", will use LEAD first and
then try WIC (Windows Imaging Component) if the image could not be converted. The two tool kits
support opening and reading different file formats; see Supported Image File Formats
below for a
complete list. You do not need to install anything extra to use these either of these tool kits. The LEAD
tool kit is bundled with Document Conversion Service and the Windows Image Component is part of the
Windows operating system.
Values:
LEAD;WIC - use LEAD first, then try WIC if the image could not be converted.
WIC;LEAD - use WIC first, then try LEAD if the image could not be converted.
LEAD - only use LEAD.
WIC - only use WIC.
Name:
ConverterPlugIn.PNImageConverter.LEADScalingMode
This is the sampling or filtering mode to use when scaling an image. An image needs to be scaled when
the resolution of the source image and destination image are not the same.
Values:
NORMAL - Nearest neighbor, this is the fasted mode and often can produce the smallest image.
LINEAR - A linear interpolation algorithm, slower than NORMAL but better image quality.
BICUBIC - Bicubic interpolation resizing, slower than LINEAR, but better image quality.