LEADTOOLS WebForms and AJAX Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.22
The DTD of the ImageInformation XML File

The ImageInformation Xml file contains the following tags:

            <ImageInformation>
               <Format></Format>
               <FormatId></FormatId>
               <Url></Url>
               <Width></Width>
               <Height></Height>
               <BitsPerPixel></BitsPerPixel>
               <BytesPerLine></BytesPerLine>
               <SizeDisk></SizeDisk>
               <SizeMemory></SizeMemory>
               <Compression></Compression>
               <Order></Order>
               <PageNumber></PageNumber>
               <TotalPages></TotalPages>
               <HasResolution></HasResolution>
               <XResolution></XResolution>
               <YResolution></YResolution>
               <IsRotated></IsRotated>
               <IsSigned></IsSigned>
               <HasAlpha></HasAlpha>
               <Palette></Palette>
            
               <GifHasAnimationLoop></GifHasAnimationLoop>
               <GifAnimationLoop></GifAnimationLoop>
               <GifAnimationWidth></GifAnimationWidth>
               <GifAnimationHeight></GifAnimationHeight>
               <GifHasAnimationBackground></GifHasAnimationBackground>
               <GifAnimationBackground></GifAnimationBackground>
               <GifHasAnimationPalette></GifHasAnimationPalette>
               <GifAnimationPalette></GifAnimationPalette>
               <GifIsInterlaced></GifIsInterlaced>
            
               <TiffHasNoPalette></TiffHasNoPalette>
               <TiffImageFileDirectoryOffset></TiffImageFileDirectoryOffset>
               <TiffIsImageFileDirectoryOffsetValid></TiffIsImageFileDirectoryOffsetValid>
            
               <FaxIsCompressed></FaxIsCompressed>
            
               <JpegIsProgressive></JpegIsProgressive>
               <JpegIsLossless></JpegIsLossless>
               <JpegHasStamp></JpegHasStamp>
            
               <PsdLayers></PsdLayers>
            
            </ImageInformation>
            

The following table contains the type and description for each tag in the ImageInformation xml file.

Tag Name

Value Data Type

Description

Format

RasterImageFormat

Image file format.

FormatId

Int

Image file format Id.

Url

String

Image file Url.

Width

Int

Width of the image.

Height

Int

Height of the image.

BitsPerPixel

Int

Bits per pixel of the image.

BytesPerLine

Int

The number of bytes per scanline for the image data.

SizeDisk

Int

Size of the image file on disk.

SizeMemory

Int

Size of the image in memory.

Compression

String

Compression of the image file.

Order

RasterByteOrder

Byte order of the image.

PageNumber

Int

Page number of the file.

TotalPages

Int

The total number of pages in the file.

HasResolution

Boolean

True if the image file has resolution values stored inside; otherwise it is false.

XResolution

Int

The horizontal resolution (DPI) of the image.

YResolution

Int

The vertical resolution (DPI) of the image.

IsRotated

Boolean

True if the image has a rotated view perspective; otherwise it is false.

IsSigned

Boolean

True if the image data contains signed (negative) values; False otherwise.

HasAlpha

Boolean

True if the image contains alpha channel information; False otherwise.

Palette

String

String value containing the whole image palette as Html color representation seperated by ',' character as follows:

PaletteEntry 0, PaletteEntry 1, PaletteEntry 2, ...PaletteEntry n-1

GifHasAnimationLoop

Boolean

True if the gif image has animation looping; False otherwise.

GifAnimationLoop

Int

Gif Animation loop count. 0 = infinity. This field is valid only if the HasAnimationLoop value was True.

GifAnimationWidth

Int

The Gif animation width.

GifAnimationHeight

Int

The Gif animation height.

GifHasAnimationBackground

Boolean

True if the gif image has animation background; False otherwise.

GifAnimationBackground

RasterColor

The Gif animation background.

GifHasAnimationPalette

Boolean

True if the gif image has animation palette; False otherwise.

GifAnimationPalette

String

String value containing the whole Gif animation palette as Html color representation separated by ',' character as follows:

GifAnimationPaletteEntry 0, GifAnimationPaletteEntry 1, GifAnimationPaletteEntry 2, ...GifAnimationPaletteEntry n-1

GifIsInterlaced

Boolean

True if the gif image is interlaced; False otherwise.

TiffHasNoPalette

Boolean

True if the tiff image is saved without a palette; False if the image is saved with a palette.

TiffImageFileDirectoryOffset

Int

The Tiff image file directory offset.

TiffIsImageFileDirectoryOffsetValid

Boolean

True if the tiff image has a valid IFD; False otherwise.

FaxIsCompressed

Boolean

True if the fax image is compressed; False otherwise.

JpegIsProgressive

Boolean

True if the jpeg image is progressive; False otherwise.

JpegIsLossless

Boolean

True if the jpeg image uses lossless JPEG compression; False otherwise.

JpegHasStamp

Boolean

True if the jpeg image has a stamp stored; False otherwise.

PsdLayers

Int

The number of layers in the Psd file.