Previous Topic

Next Topic

Book Contents

Book Index

SetGhostscriptParameters

Description:

Use this import option to add additional Ghostscript parameters. You have the ability to tweak the output almost to your content, and with this import option you can add additional Ghostscript-options and thus control the conversion in detail.

Declaration:

SetGhostscriptParameters:<parameters>


Parameters:

Param

Description

<parameters>

The additional Ghostscript parameters


Notes:

In order to utilize this import option you must download and install Ghostscript according to the step-by-step list here.

One typical usage of this import option is because you want to enhance the quality of the conversion of a PDF file. By experimenting we have found that the following parameters are fine - especially if you also use the II2LN's Resize import option at the same time;

-r300 -dTextAlphaBits=4 -dGraphicsAlphaBits=4

As you see, the parameters are entered exactly as they would be entered on a manual GSWIN32C.EXE usage. The parameters that II2LN transfer by default is:

-dSAFER -q -dNOPAUSE -dBATCH -sDEVICE=jpeg

Refer to the GhostScript documentation or search for "Ghostscript commandline options" to learn more about the available options.

A nice tricks to experiment with Ghostscript parameters is therefore to use GSWIN32C.EXE directly in a Command Prompt Session (run CMD.EXE). You could for example use this parameters:

gswin32c -dSAFER -q -sPAPERSIZE=a4 -r600 -dJPEGQ=100 -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -dNOPAUSE -dBATCH -sDEVICE=jpeg -sOutputFile=OutputJPEGFileName.jpg InputPDFFileName.pdf

Introduced in version:

1.2.5.0

Repeatable

No

See Also

All Import Options

AttachImportFile

AppendIPTC

AttachOriginalFile

AttachPreviewFile

AutoOrientation

Blur

CanvasFormatWithColor

ClearExistingMetadata

ExtractEXIFToField

ExtractIPTCToField

ExtractImageVariablesToField

FavorPhotoshop

Flip

ForceImportFilename

ImpersonateAs

InsertIPTC

LeaveDXLBackup

LoadTIFFFrame

OverlayImage

WriteText

OutputSize

ProcessTimeField

ReplaceEXIF

ReplaceIPTC

ReplaceWithVariable

Resize

ResizeMetric

Rotate

SetDPI

SetGhostscriptProcessor

SetLogFilename

SetLogLevel

ResizeMethod

SetResizeNoEnlargement

SetWebGrabBrowserSize

SetWebGrabClipRect

SetWebGrabDelay

SetWebGrabEnableActiveX

SetWebGrabEnableJava

SetWebGrabEnableScript

SetWebGrabTimeout

SetWebGrabZoom

StrictImageVerification

Sharpen

UseImageResourceDatabase

WorkingPath