Please enable JavaScript to view this site.

PNDocConvQueueServiceLib

Navigation: Conversion Settings

Built-in Image Converter Options

Scroll Prev Top Next More

The Built-in Image Converter is a replacement for our original Image Converter. We've improved the speed and memory use needed when converting, modifying, and rotating images. This converter improves image conversion speed and provides better handling of all image types.

Caution

This feature is not supported on Microsoft® Windows Server 2008 R2 and Microsoft® Windows 7.

 

Table values in bold text are the default value for that setting.

 

 

Code Sample - C#

 
PNDocConvQueueServiceLib.PNDocConvQueueItem item = null;
 
// Create the conversion item
item = new PNDocConvQueueServiceLib.PNDocConvQueueItem();
 
// Set conversion settings
item.Set("ConverterPlugIn.PNImageConverter.KeepSourceImageResolution","True");

 
// Output file options
item.Set("Devmode settings;Resolution","300");
item.Set("Save;Output File Format","TIFF Multipaged");
 
...
// convert the file
item.Convert("Image - Builtin",
             @"C:\Test\screenshot.png",
             @"C:\Test\Out\ConvertedImage");

 

Code Sample - VB.NET

 

Dim item As PNDocConvQueueServiceLib.IPNDocConvQueueItem

 

 ' Create the conversion item

item = New PNDocConvQueueServiceLib.PNDocConvQueueItem()

 

' Set conversion settings

item.Set("ConverterPlugIn.PNImageConverter.KeepSourceImageResolution","True")

 

item.Set("Devmode settings;Resolution","300")
item.Set("Save;Output File Format","TIFF Multipaged")

 

...

' convert the file

item.Convert("Image - Builtin", _

             "C:\Test\screenshot.png", _

             "C:\Test\Out\ConvertedImage")

 

 

Conversion Settings - Image Options

Name:

ConverterPlugIn.PNImageConverter.KeepSourceImageResolution

 

Optionally keep the output image's resolution the same as source image. Note that fax mode and other image option actions (Image Options) will still override the end result. Overrides the Devmode settings;Resolution settings from Devmode settings.

 

Values:

True - Create the new image with the same resolution as the original image.

False - Creates the new image with the resolution specified in the Devmode settings;Resolution setting.