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 |
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 |
Value that represents the height of the resulting image. The default is the height of the image. |
|||||||||
BitsPerPixel |
Value that represents the bits per pixel of the resulting image. |
|||||||||
SizeMode |
Determines how to resize the image (if any). |
|||||||||
SizeFlags |
Flags which control the behavior of the image resize method. |
|||||||||
Order |
Indicates the color order to be used in loading the image. |
|||||||||
Page |
Value that represents the page number to be loaded if the image file was a multipage file. The default is page 1. |
|||||||||
LoadXResolution |
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 |
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 |
Value that represents the left position of the tile to be loaded from the image. |
|||||||||
SourceRectangleTop |
Value that represents the top position of the tile to be loaded from the image. |
|||||||||
SourceRectangleWidth |
Value that represents the width of the tile to be loaded from the image. |
|||||||||
SourceRectangleHeight |
Value that represents the height of the tile to be loaded from the image. |
|||||||||
Rotated |
True to load files rotated; False to ignore the view perspective stored in the file. |
|||||||||
Signed |
True to load and keep negative pixel values; False to set negative pixel values to 0. |
|||||||||
FixedPalette |
True to force a palletized image to be dithered to the LEAD fixed palette. |
|||||||||
NoInterlace |
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 |
True to keep loaded data compressed in memory; otherwise it is false. |
|||||||||
SuperCompressed |
True to keep loaded data compressed in memory; False otherwise. |
|||||||||
TiledMemory |
True to load the image using tiles; False otherwise. |
|||||||||
DiskMemory |
True to load the image using disk memory; False otherwise. |
|||||||||
Passes |
The number of passes (scans through the image) when loading a progressive image (JPEG mainly). |
|||||||||
NoTiledMemory |
Value indicating whether to allow tiled images. |
|||||||||
NoDiskMemory |
Value indicating whether to allow disk memory when loading an image. |
|||||||||
AbcFastLoad |
True to enable Abc fast loading algorithm; False to disable it. |
|||||||||
EpsForceThumbnail |
True to force the loading of thumbnails (if present) in EPS files; False to load the actual EPS data. |
|||||||||
JbigResolutionWidth |
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 |
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 |
True to enable using MMX optimized instructions when loading JPEG and LEAD CMP images; False otherwise. |
|||||||||
JpegDisableP3 |
True to enables using PIII optimized instructions when loading JPEG and LEAD CMP images; False otherwise. |
|||||||||
JpegForceCieLab |
True to force the load process to expect CIELAB colorspace data in the file; False otherwise. |
|||||||||
JpegForceRgbFile |
True to force the load process to expect RGB colorspace data in the file; False otherwise. |
|||||||||
JpegUseBadJpegPredictor |
True to force the loading of lossless jpeg files that contain incorrect predictors; False otherwise. |
|||||||||
JpegUseFastConversion |
True to enables using the fast color conversions when loading CMYK or CIELab files; False otherwise. |
|||||||||
CmwResolutionWidth |
Value that represents the horizontal resolution of the cmw image to use when loading the image. 0 is the default value. |
|||||||||
CmwResolutionHeight |
Value that represents the vertical resolution of the cmw image to use when loading the image. 0 is the default value. |
|||||||||
J2kResolutionWidth |
Value that represents the horizontal resolution of the J2K image to use when loading the image. 0 is the default value. |
|||||||||
J2kResolutionHeight |
Value that represents the vertical resolution of the J2K image to use when loading the image. 0 is the default value. |
|||||||||
Jp2ResolutionWidth |
Value that represents the horizontal resolution of the JP2 image to use when loading the image. 0 is the default value. |
|||||||||
Jp2ResolutionHeight |
Value that represents the vertical resolution of the JP2 image to use when loading the image. 0 is the default value. |
|||||||||
PcdResolutionWidth |
Value that represents the horizontal resolution of the JP2 image to use when loading the image. 0 is the default value. |
|||||||||
PcdResolutionHeight |
Value that represents the vertical resolution of the JP2 image to use when loading the image. 0 is the default. |
|||||||||
PdfInitialPath |
Character string that contains the path to the PDF runtime files, or an empty string, if the default location is to be used. |
|||||||||
PdfDisableCieColors |
True to disable the use of CIE colors; False otherwise. |
|||||||||
PdfDisableCropping |
True to disable cropping of files; False otherwise. |
|||||||||
PdfDisplayDepth |
Value that represents the resulting image pixel depth, must be 1, 4, 8, or 24. |
|||||||||
PdfGraphicsAlpha |
Value that represents the type of graphics anti-aliasing to use.
|
|||||||||
PdfPassword |
Character string that contains the password to use when loading encrypted files. |
|||||||||
PdfTextAlpha |
Value that represents the type of font anti-aliasing to use.
|
|||||||||
PdfUseLibFonts |
True to use the library installed fonts; False to use the system fonts. |
|||||||||
PdfXResolution |
Value that represents the horizontal display resolution in dots per inch. |
|||||||||
PdfYResolution |
Value that represents the vertical display resolution in dots per inch. |
|||||||||
PtokaResolution |
Value that represents the resolution (DPI) to load. |
|||||||||
RtfLeftMargin |
Value that represents the width of the left margin. |
|||||||||
RtfTopMargin |
Value that represents the width of the top margin. |
|||||||||
RtfPaperWidth |
Value that represents the width of the paper. |
|||||||||
RtfPaperHeight |
Value that represents the height of the paper. |
|||||||||
RtfRightMargin |
Value that represents the width of the right margin. |
|||||||||
RtfBottomMargin |
Value that represents the width of the bottom margin. |
|||||||||
TxtBold |
True to use bold font for the text in the txt image; False to use normal font. |
|||||||||
TxtEnabled |
True to enable the LEADTOOLS Txt file filter; False to disable it. |
|||||||||
TxtFaceName |
Character string that contains the text font face name. |
|||||||||
TxtFontColor |
Character string that contains the Html representation of the text font color. |
|||||||||
TxtFontSize |
Value that represents the text font size. |
|||||||||
TxtHighlight |
Character string that contains the Html representation of the highlight color. |
|||||||||
TxtItalic |
True to use italic font for the text; False to use normal font. |
|||||||||
TxtLeftMargin |
Value that represents the width of the left margin to use with the txt image. |
|||||||||
TxtRightMargin |
Value that represents the width of the right margin to use with the txt image. |
|||||||||
TxtTopMargin |
Value that represents the width of the top margin to use with the txt image. |
|||||||||
TxtBottomMargin |
Value that represents the width of the bottom margin to use with the txt image. |
|||||||||
TxtPaperWidth |
Value that represents the width of the paper. |
|||||||||
TxtPaperHeight |
Value that represents the height of the paper. |
|||||||||
TxtStrikeThrough |
True to use strikethrough font for the text; False to use normal font. |
|||||||||
TxtUnderline |
True to use underlined font for the text; False to use normal font. |
|||||||||
WmfXResolution |
Value that represents the horizontal resolution in dots per inch to load for the wmf image. |
|||||||||
WmfYResolution |
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. |