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> 
   <BitsPerPixel></BitsPerPixel> 
   <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>    
   <TiledMemory></TiledMemory> 
   <DiskMemory></DiskMemory> 
   <Passes></Passes> 
   <NoTiledMemory></NoTiledMemory> 
   <NoDiskMemory></NoDiskMemory>    
                
   <!--WebImageViewer And WebThumbnailViewer Properties that can be modified-->    
   <AbcFastLoad></AbcFastLoad> 
   <EpsForceThumbnail></EpsForceThumbnail> 
   <GifAnimationLoop></GifAnimationLoop>    
   <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> 
   <!--End of WebImageViewer And WebThumbnailViewer Properties that can be modified-->    
 </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

Int

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

Int

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

BitsPerPixel

Int

Value that represents the bits per pixel of the resulting image.

SizeMode

ImageViewerSizeMode

Determines how to resize the image (if any).

SizeFlags

RasterSizeFlags

Flags which control the behavior of the image resize method.

Order

RasterByteOrder

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

Page

Int

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

LoadXResolution

Int

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

Int

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

Int

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

SourceRectangleTop

Int

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

SourceRectangleWidth

Int

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

SourceRectangleHeight

Int

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; otherwise it is false.

SuperCompressed

Boolean

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

TiledMemory

Boolean

True to load the image using tiles; False otherwise.

DiskMemory

Boolean

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

Passes

Int

The number of passes (scans through the image) when loading a progressive image (JPEG mainly).

NoTiledMemory

Boolean

Value indicating whether to allow tiled images.

NoDiskMemory

Boolean

Value indicating whether to allow disk memory when loading an image.

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

Int

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

Int

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

Int

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

CmwResolutionHeight

Int

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

J2kResolutionWidth

Int

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

J2kResolutionHeight

Int

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

Jp2ResolutionWidth

Int

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

Jp2ResolutionHeight

Int

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

PcdResolutionWidth

Int

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

PcdResolutionHeight

Int

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

Int

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

PdfGraphicsAlpha

Int

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

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

PdfPassword

String

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

PdfTextAlpha

Int

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

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

PdfUseLibFonts

Boolean

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

PdfXResolution

Int

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

PdfYResolution

Int

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

PtokaResolution

Int

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

Int

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 underlined font for the text; False to use normal font.

WmfXResolution

Int

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

WmfYResolution

Int

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

Value Meaning
1 Do not use graphics anti-aliasing.
2 Use 2-bits graphics anti-aliasing.
4 Use 4-bits graphics anti-aliasing.
Value Meaning
1 Do not use font anti-aliasing.
2 Use 2-bits font anti-aliasing.
4 Use 4-bits font anti-aliasing.
Help Version 21.0.2021.11.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Imaging, Medical, and Document
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.