Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.21
ImageGenerator InputProfile XML DTD

For the InputProfile Xml section, the following are the tags that can be set:

Note that for each tag name that contains a filter name (like Gif, Tiff, ...etc) in the InputProfile xml tags, this tag value will be used just if the format of the image to be loaded and the filter name in the tag name are in the same format.


<InputProfile>
   <Width></Width>
   <Height></Height>
   <SizeMode></SizeMode>
   <SizeFlags></SizeFlags>
   <Order></Order>
   <Page></Page>
   <LoadXResolution></LoadXResolution>
   <LoadYResolution></LoadYResolution>
   <TileSizeFlags></TileSizeFlags>
   <SourceRectangleLeft></SourceRectangleLeft>
   <SourceRectangleTop></SourceRectangleTop>
   <SourceRectangleWidth></SourceRectangleWidth>
   <SourceRectangleHeight></SourceRectangleHeight>
   <Rotated></Rotated>
   <Signed></Signed>
   <FixedPalette></FixedPalette>
   <NoInterlace></NoInterlace>
   <Compressed></Compressed>
   <SuperCompressed></SuperCompressed>
   <UnmanagedMemory></UnmanagedMemory>
   <TiledMemory></TiledMemory>
   <DiskMemory></DiskMemory>
   <AbcFastLoad></AbcFastLoad>
   <EpsForceThumbnail></EpsForceThumbnail>
   <JbigResolutionWidth></JbigResolutionWidth>
   <JbigResolutionHeight></JbigResolutionHeight>
   <JpegDisableMmx></JpegDisableMmx>
   <JpegDisableP3></JpegDisableP3>
   <JpegForceCieLab></JpegForceCieLab>
   <JpegForceRgbFile></JpegForceRgbFile>
   <JpegUseBadJpegPredictor></JpegUseBadJpegPredictor>
   <JpegUseFastConversion></JpegUseFastConversion>
   <CmwResolutionWidth></CmwResolutionWidth>
   <CmwResolutionHeight></CmwResolutionHeight>
   <J2kResolutionWidth></J2kResolutionWidth>
   <J2kResolutionHeight></J2kResolutionHeight>
   <Jp2ResolutionWidth></Jp2ResolutionWidth>
   <Jp2ResolutionHeight></Jp2ResolutionHeight>
   <PcdResolutionWidth></PcdResolutionWidth>
   <PcdResolutiondHeight></PcdResolutiondHeight>
   <PdfInitialPath></PdfInitialPath>
   <PdfDisableCieColors></PdfDisableCieColors>
   <PdfDisableCropping></PdfDisableCropping>
   <PdfDisplayDepth></PdfDisplayDepth>
   <PdfGraphicsAlpha></PdfGraphicsAlpha>
   <PdfPassword></PdfPassword>
   <PdfTextAlpha></PdfTextAlpha>
   <PdfUseLibFonts></PdfUseLibFonts>
   <PdfXResolution></PdfXResolution>
   <PdfYResolution></PdfYResolution>
   <PtokaResolution></PtokaResolution>
   <RtfLeftMargin></RtfLeftMargin>
   <RtfTopMargin></RtfTopMargin>
   <RtfPaperWidth></RtfPaperWidth>
   <RtfPaperHeight></RtfPaperHeight>
   <RtfRightMargin></RtfRightMargin>
   <RtfBottomMargin></RtfBottomMargin>
   <TifIgnorePhotometricInterpretation></TifIgnorePhotometricInterpretation>
   <TifIgnoreViewPerspective></TifIgnoreViewPerspective>
   <TifImageFileDirectoryOffset></TifImageFileDirectoryOffset>
   <TifUseFastConversion></TifUseFastConversion>
   <TifUseImageFileDirectoryOffset></TifUseImageFileDirectoryOffset>
   <TxtBold></TxtBold>
   <TxtBottomMargin></TxtBottomMargin>
   <TxtEnabled></TxtEnabled>
   <TxtFaceName></TxtFaceName>
   <TxtFontColor></TxtFontColor>
   <TxtFontSize></TxtFontSize>
   <TxtHighlight></TxtHighlight>
   <TxtItalic></TxtItalic>
   <TxtLeftMargin></TxtLeftMargin>
   <TxtTopMargin></TxtTopMargin>
   <TxtPaperWidth></TxtPaperWidth>
   <TxtPaperHeight></TxtPaperHeight>
   <TxtRightMargin></TxtRightMargin>
   <TxtStrikeThrough></TxtStrikeThrough>
   <TxtUnderline></TxtUnderline>
   <WmfXResolution></WmfXResolution>
   <WmfYResolution></WmfYResolution>
 </InputProfile>

The following table contains the type and description for each tag in the InputProfile section of the ImageGenerator xml file.

Tag Name

Value Data Type

Description

Width

Int32

Value that represents the width of the resulting image. The default is the width of the image.

if you set Width and Height tags, you cannot set SourceRectangleLeft, SourceRectangleTop, SourceRectangleWidth and SourceRectangleHeight tags.

Height

Int32

Value that represents the height of the resulting image. The default is the height of the image.

BitsPerPixel

Int32

Value that represents the height of the resulting image. The default is the height of the image.

SizeMode

ImageViewerSizeMode

Determines how to resize the image (if any).

SizeFlags

RasterSizeFlags

Flags which control the behaviour of the image resize method.

Order

RasterByteOrder

Indicates the color order to be used in loading the image.

Page

Int32

Value that represents the page number to be loaded if the image file was a multi-page file. The default is page 1.

LoadXResolution

Int32

Value that represents the horizontal display resolution in dots per inch to use in loading the image, default value is the image horizontal dots per inch value.

LoadYResolution

Int32

Value that represents the vertical display resolution in dots per inch to use in loading the image. The default value is the image horizontal dots per inch value.

SourceRectangleLeft

Int32

Value that represents the left position of the tile to be loaded from the image.

SourceRectangleTop

Int32

Value that represents the top position of the tile to be loaded from the image.

SourceRectangleWidth

Int32

Value that represents the width of the tile to be loaded from the image.

SourceRectangleHeight

Int32

Value that represents the height of the tile to be loaded from the image.

Rotated

Boolean

True to load files rotated; False to ignore the view perspective stored in the file.

Signed

Boolean

True to load and keep negative pixel values; False to set negative pixel values to 0.

FixedPalette

Boolean

True to force a palletized image to be dithered to the LEAD fixed palette.

NoInterlace

Boolean

When set to True, the Load methods pass image data in the order that is displayed, regardless of how it is stored in the file.

Compressed

Boolean

True to keep loaded data compressed in memory; False otherwise.

SuperCompressed

Boolean

True to keep loaded data compressed in memory; False otherwise.

TiledMemory

Boolean

True to load the image using tiled; False otherwise.

DiskMemory

Boolean

True to load the image using disk memory; False otherwise.

AbcFastLoad

Boolean

True to enable Abc fast loading algorithm; False to disable it.

EpsForceThumbnail

Boolean

True to force the loading of thumbnails (if present) in EPS files; False to load the actual EPS data.

JbigResolutionWidth

Int32

Value that represents the horizontal resolution to load. Specify 0 to load the default resolution, which is the highest resolution layer, which corresponds to the image with its FULL DIMENSIONS.

Ex: If the file contains the image at the following dimensions: 800X600, 400X 300 and 200X150, then in the default case the codec will load the image at 800X600.

JbigResolutionHeight

Int32

Value that represents the vertical resolution to load. Specify 0 to load the default resolution, which is the highest resolution layer, which corresponds to the image with its FULL DIMENSIONS.

Ex: If the file contains the image at the following dimensions: 800X600, 400X 300 and 200X150, then in the default case the codec will load the image at 800X600.

JpegDisableMmx

Boolean

True to enable using MMX optimized instructions when loading JPEG and LEAD CMP images; False otherwise.

JpegDisableP3

Boolean

True to enables using PIII optimized instructions when loading JPEG and LEAD CMP images; False otherwise.

JpegForceCieLab

Boolean

True to force the load process to expect CIELAB colorspace data in the file; False otherwise.

JpegForceRgbFile

Boolean

True to force the load process to expect RGB colorspace data in the file; False otherwise.

JpegUseBadJpegPredictor

Boolean

True to force the loading of lossless jpeg files that contain incorrect predictors; False otherwise.

JpegUseFastConversion

Boolean

True to enables using the fast color conversions when loading CMYK or CIELab files; False otherwise.

CmwResolutionWidth

Int32

Value that represents the horizontal resolution of the cmw image to use when loading the image. 0 is the default value.

CmwResolutionHeight

Int32

Value that represents the vertical resolution of the cmw image to use when loading the image. 0 is the default value.

J2kResolutionWidth

Int32

Value that represents the horizontal resolution of the J2K image to use when loading the image. 0 is the default value.

J2kResolutionHeight

Int32

Value that represents the vertical resolution of the J2K image to use when loading the image. 0 is the default value.

Jp2ResolutionWidth

Int32

Value that represents the horizontal resolution of the JP2 image to use when loading the image. 0 is the default value.

Jp2ResolutionHeight

Int32

Value that represents the vertical resolution of the JP2 image to use when loading the image. 0 is the default value.

PcdResolutionWidth

Int32

Value that represents the horizontal resolution of the JP2 image to use when loading the image. 0 is the default value.

PcdResolutionHeight

Int32

Value that represents the vertical resolution of the JP2 image to use when loading the image. 0 is the default.

PdfInitialPath

String

Character string that contains the path to the PDF runtime files, or an empty string, if the default location is to be used.

PdfDisableCieColors

Boolean

True to disable the use of CIE colors; False otherwise.

PdfDisableCropping

Boolean

True to disable cropping of files; False otherwise.

PdfDisplayDepth

Int32

Value that represents the resulting image pixel depth, must be 1, 4, 8, or 24.

PdfGraphicsAlpha

Int32

Value that represents the type of graphics anti-aliasing to use.

ValueMeaning
1Do not use graphics anti-aliasing.
2Use 2-bits graphics anti-aliasing.
4Use 4-bits graphics anti-aliasing.

PdfPassword

String

Character string that contains the password to use when loading encrypted files.

PdfTextAlpha

Int32

Value that represents the type of font anti-aliasing to use.

ValueMeaning
1Do not use font anti-aliasing.
2Use 2-bits font anti-aliasing.
4Use 4-bits font anti-aliasing.

PdfUseLibFonts

Boolean

True to use the library installed fonts; False to use the system fonts.

PdfXResolution

Int32

Value that represents the horizontal display resolution in dots per inch.

PdfYResolution

Int32

Value that represents the vertical display resolution in dots per inch.

PtokaResolution

Int32

Value that represents the resolution (DPI) to load.

RtfLeftMargin

Double

Value that represents the width of the left margin.

RtfTopMargin

Double

Value that represents the width of the top margin.

RtfPaperWidth

Double

Value that represents the width of the paper.

RtfPaperHeight

Double

Value that represents the height of the paper.

RtfRightMargin

Double

Value that represents the width of the right margin.

RtfBottomMargin

Double

Value that represents the width of the bottom margin.

TxtBold

Boolean

True to use bold font for the text in the txt image; False to use normal font.

TxtEnabled

Boolean

True to enable the LEADTOOLS Txt file filter; False to disable it.

TxtFaceName

String

Character string that contains the text font face name.

TxtFontColor

String

Character string that contains the Html representation of the text font color.

TxtFontSize

Int32

Value that represents the text font size.

TxtHighlight

String

Character string that contains the Html representation of the highlight color.

TxtItalic

Boolean

True to use italic font for the text; False to use normal font.

TxtLeftMargin

Double

Value that represents the width of the left margin to use with the txt image.

TxtRightMargin

Double

Value that represents the width of the right margin to use with the txt image.

TxtTopMargin

Double

Value that represents the width of the top margin to use with the txt image.

TxtBottomMargin

Double

Value that represents the width of the bottom margin to use with the txt image.

TxtPaperWidth

Double

Value that represents the width of the paper.

TxtPaperHeight

Double

Value that represents the height of the paper.

TxtStrikeThrough

Boolean

True to use strikethrough font for the text; False to use normal font.

TxtUnderline

Boolean

True to use underlinded font for the text; False to use normal font.

WmfXResolution

Int32

Value that represents the horizontal resolution in dots per inch to load for the wmf image.

WmfYResolution

Int32

Value that represents the vertical resolution in dots per inch to load for the wmf image.