Leadtools.Codecs Assembly Changes

Version Changes: 18 to 19

New Members

The following members have been added:

Name Description
Leadtools.Codecs.CodecsCompressDataCallback(int,int,int,RasterByteOrder,RasterViewPerspective,RasterNativeBuffer) - Provides a callback method that gets called when compressed data is available.
Leadtools.Codecs.CodecsImageInfo.HorizontalTiles Gets the number of horizontal tiles of the image.
Leadtools.Codecs.CodecsImageInfo.ImageHeight Gets the height of the image in pixels, taking the ViewPerspective into account.
Leadtools.Codecs.CodecsImageInfo.ImageWidth Gets the width of the image in pixels, taking the ViewPerspective into account.
Leadtools.Codecs.CodecsImageInfo.Pst Gets extra information about the image if the file format is PST.
Leadtools.Codecs.CodecsImageInfo.VerticalTiles Gets the number of vertical tiles of the image.
Leadtools.Codecs.CodecsJpegLoadOptions.Multithreaded Enables or disables multithreaded load.
Leadtools.Codecs.CodecsLoadOptions.MaximumConventionalMemorySize The maximum number of conventional memory bytes to use when loading a single raster image object.
Leadtools.Codecs.CodecsLoadOptions.Name Indicates the optional name of the file to use as a hint when loading image data from memory streams.
Leadtools.Codecs.CodecsLoadOptions.Resolution Gets or sets the resolution (DPI).
Leadtools.Codecs.CodecsLoadSvgAsyncCompletedEventArgs - Contains data for the RasterCodecs.LoadSvgAsyncCompleted event.
Leadtools.Codecs.CodecsLoadSvgOptions - Provides the options used when loading documents as SVG.
Leadtools.Codecs.CodecsOptions.Pst Gets the PST load options.
Leadtools.Codecs.CodecsOverlayCallback(CodecsOverlayData) - Provides a callback method that gets called when loading a file containing an overlay.
Leadtools.Codecs.CodecsPdfLoadOptions.HideAnnotations Gets or sets a value that indicates whether to hide the annotation objects when loading a PDF page as a raster image or an SVG.
Leadtools.Codecs.CodecsPdfLoadOptions.HideDigitalSignatures Gets or sets a value that indicates whether to hide the digital signature objects when loading a PDF page as a raster image or an SVG.
Leadtools.Codecs.CodecsPdfLoadOptions.HideFormFields Gets or sets a value that indicates whether to hide the form fields when loading a PDF page as a raster image or an SVG.
Leadtools.Codecs.CodecsPstImageInfo - Provides information specific to PST files.
Leadtools.Codecs.CodecsPstLoadOptions - Provides options specifically for loading Outlook PST, MSG and EML files.
Leadtools.Codecs.CodecsPstOptions - Provides extra options for loading Outlook PST, MSG and EML files.
Leadtools.Codecs.CodecsRasterizeDocumentLoadOptions.Resolution Gets or sets the resolution to use for rasterization document files.
Leadtools.Codecs.CodecsRasterPdfInfo.Resolution Gets or sets the resolution of the PDF page in dots per inch.
Leadtools.Codecs.CodecsSaveAsyncCompletedEventArgs - Contains data for the RasterCodecs.SaveAsyncCompleted event.
Leadtools.Codecs.CodecsTiffImageInfo.IsBigTiff Determines whether the image file is BigTIFF.
Leadtools.Codecs.CodecsTiffLoadOptions.J2kResolution Gets or sets the resolution to load when loading J2K streams.
Leadtools.Codecs.CodecsTiffSaveOptions.BigTiff Gets a value that indicates whether the file should be saved in BigTIFF format.
Leadtools.Codecs.CodecsTransformMarkerCallback(int,RasterNativeBuffer,CodecsTransformFlags) - Handles the processing of every JPEG marker present in the file transformed by RasterCodecs.Transform.
Leadtools.Codecs.CodecsWmfLoadOptions.Resolution Gets or sets the resolution (DPI) to load.
Leadtools.Codecs.CodecsXlsLoadOptions.DisableCellClipping Gets or sets a value that indicates whether the rendered page width/height chosen by the user will be approximated to the nearest cell width/height to avoid clipping the Excel document cell.
Leadtools.Codecs.RasterCodecs.CanLoadSvg Determines whether the specified image, document or vector data in the remote URL can be loaded as SVG.
Leadtools.Codecs.RasterCodecs.CanLoadSvg(Stream) Determines whether specified image, document or vector stream can be loaded as SVG.
Leadtools.Codecs.RasterCodecs.CanLoadSvg(string) Determines whether specified image, document or vector file can be loaded as SVG.
Leadtools.Codecs.RasterCodecs.CanLoadSvgAsync(ILeadStream) Determines whether specified image, document or vector stream can be loaded as SVG.
Leadtools.Codecs.RasterCodecs.CompactFile(Stream,Stream,int,int,bool,long,int,bool,long,CodecsSavePageMode,bool,bool,bool) Compacts TIFF streams with specific options.
Leadtools.Codecs.RasterCodecs.CompactFile(string,string,int,int,bool,long,int,bool,long,CodecsSavePageMode,bool,bool,bool) Compacts TIFF files with specific options.
Leadtools.Codecs.RasterCodecs.ConvertAsync(ILeadStream,ILeadStream,RasterImageFormat,int,int,int,int,CodecsImageInfo) Converts an image stream from one format to another, creating a new image file in a stream in the new format.
Leadtools.Codecs.RasterCodecs.ExtractXMPMetadata(Stream,Stream) Extracts all XMP metadata from the source file and saves it to the destination XML file.
Leadtools.Codecs.RasterCodecs.ExtractXMPMetadata(string,string) Extracts all XMP metadata from the source file and saves it to the destination XML file.
Leadtools.Codecs.RasterCodecs.FileMetadataKeyAuthor The author (file creator) metadata key.
Leadtools.Codecs.RasterCodecs.FileMetadataKeyCreateDate The file creation date (in local time) metadata key.
Leadtools.Codecs.RasterCodecs.FileMetadataKeyKeywords The keywords metadata key.
Leadtools.Codecs.RasterCodecs.FileMetadataKeyLastSavedBy The last saved by metadata key.
Leadtools.Codecs.RasterCodecs.FileMetadataKeyMofifiedDate The file modification date (in local time) metadata key.
Leadtools.Codecs.RasterCodecs.FileMetadataKeyRevisionNumber The revision number metadata key.
Leadtools.Codecs.RasterCodecs.FileMetadataKeySubject The subject metadata key.
Leadtools.Codecs.RasterCodecs.FileMetadataKeyTitle The title metadata key.
Leadtools.Codecs.RasterCodecs.GetExtension(RasterImageFormat) Gets the default file extension for the specified format.
Leadtools.Codecs.RasterCodecs.GetExtensionMimeType(string) Gets the MIME type associated with the specified file format extension.
Leadtools.Codecs.RasterCodecs.GetMimeTypeExtension(string) Gets the default extension for the specified MIME type.
Leadtools.Codecs.RasterCodecs.IsSvg Quickly determines whether the URL contains an SVG image.
Leadtools.Codecs.RasterCodecs.IsTiff(RasterImageFormat) Determines if the specified RasterImageFormat is a FileFormatsTIFF file format.
Leadtools.Codecs.RasterCodecs.LoadSvg(Stream,int,CodecsLoadSvgOptions) Loads a page from a stream containing image, document or vector file as SVG
Leadtools.Codecs.RasterCodecs.LoadSvg(string,int,CodecsLoadSvgOptions) Loads a page from an image, document or vector file as SVG
Leadtools.Codecs.RasterCodecs.LoadSvg(Uri,int,CodecsLoadSvgOptions) Loads a page from an image, document or vector file as SVG.
Leadtools.Codecs.RasterCodecs.LoadSvgAsync(ILeadStream,int,CodecsLoadSvgOptions) Loads a page from a stream containing image, document or vector file as SVG
Leadtools.Codecs.RasterCodecs.LoadSvgAsync(Stream,int,CodecsLoadSvgOptions,object) Loads a page from a stream containing an image, document or vector file as SVG asynchronously.
Leadtools.Codecs.RasterCodecs.LoadSvgAsync(string,int,CodecsLoadSvgOptions,object) Loads a page from an image, document or vector file as SVG asynchronously.
Leadtools.Codecs.RasterCodecs.LoadSvgAsync(Uri,int,CodecsLoadSvgOptions,object) Loads a page from a URI containing an image, document or vector file as SVG asynchronously.
Leadtools.Codecs.RasterCodecs.LoadSvgAsyncCompleted Indicates that an asynchronous load SVG operation has been completed.
Leadtools.Codecs.RasterCodecs.MetadataItemsSupported(RasterImageFormat) Checks whether the specified file format supports metadata.
Leadtools.Codecs.RasterCodecs.ReadLoadResolutions(Stream,int) Examines a stream to determine which resolutions it contains.
Leadtools.Codecs.RasterCodecs.ReadLoadResolutions(string,int) Examines a page in a file to determine which resolutions it contains.
Leadtools.Codecs.RasterCodecs.ReadLoadResolutionsAsync(ILeadStream,int) Examines a stream to determine which resolutions it contains.
Leadtools.Codecs.RasterCodecs.ReadMetadataItems(Stream,int) Reads metadata from the specified stream.
Leadtools.Codecs.RasterCodecs.ReadMetadataItems(string,int) Reads metadata from the specified file.
Leadtools.Codecs.RasterCodecs.ReadMetadataItemsAsync(ILeadStream,int) Reads metadata from the specified stream.
Leadtools.Codecs.RasterCodecs.ReadStamp(Stream,int,CodecsImageInfo) Reads a thumbnail image stored in an image stream.
Leadtools.Codecs.RasterCodecs.ReadStamp(string,int,CodecsImageInfo) Reads a thumbnail image stored in the image file.
Leadtools.Codecs.RasterCodecs.ReadTagsWithOffsets(Stream,int,Int64&) Reads all the tags stored in a TIFF file, along with the offsets for each tag.
Leadtools.Codecs.RasterCodecs.ReadTagsWithOffsets(string,int,Int64&) Reads all the tags stored in a TIFF file, along with the offsets for each tag.
Leadtools.Codecs.RasterCodecs.ReadTagsWithOffsetsAsync(ILeadStream,int,IVector<long>) Reads all the tags stored in a TIFF file, along with the offsets for each tag.
Leadtools.Codecs.RasterCodecs.SaveAsync(RasterImage,Stream,RasterImageFormat,int,int,int,int,CodecsSavePageMode,object) Asynchronously saves one or more pages of a RasterImage to a stream in any of the supported compressed or uncompressed formats asynchronously.
Leadtools.Codecs.RasterCodecs.SaveAsync(RasterImage,Stream,RasterImageFormat,int,object) Saves a RasterImage to a stream in any of the supported compressed or uncompressed formats asynchronously.
Leadtools.Codecs.RasterCodecs.SaveAsync(RasterImage,string,RasterImageFormat,int,int,int,int,CodecsSavePageMode,object) Saves one or more pages of a RasterImage to a file in any of the supported compressed or uncompressed formats asynchronously.
Leadtools.Codecs.RasterCodecs.SaveAsync(RasterImage,string,RasterImageFormat,int,object) Saves a RasterImage to a file in any of the supported compressed or uncompressed formats asynchronously.
Leadtools.Codecs.RasterCodecs.SaveAsync(RasterImage,Uri,RasterImageFormat,int,int,int,object) Saves one or more pages of a RasterImage to a remote URL in any of the supported compressed or uncompressed formats asynchronously.
Leadtools.Codecs.RasterCodecs.SaveAsync(RasterImage,Uri,RasterImageFormat,int,object) Saves a RasterImage to a remote URL in any of the supported compressed or uncompressed formats asynchronously.
Leadtools.Codecs.RasterCodecs.SaveXMPMetadata(Stream,Stream) Saves all XMP metadata from the source XML file to the destination image file.
Leadtools.Codecs.RasterCodecs.SaveXMPMetadata(string,string) Saves all XMP metadata from the source XML file to the destination image file.
Leadtools.Codecs.RasterCodecs.StartOptimizedLoad Indicates the beginning of a section of code using the same source file.
Leadtools.Codecs.RasterCodecs.StopOptimizedLoad Indicates the end of a section of code using the same source file.

Removed Members

The following members have been removed:

Name Description
Leadtools.Codecs.CodecsCompressDataCallback - Provides a callback method that gets called when compressed data is available.
Leadtools.Codecs.CodecsExtensionList.Dispose(bool) Releases all the resources used by this Leadtools.Codecs.CodecsExtensionList.
Leadtools.Codecs.CodecsImageInfo.Dispose(bool) Releases all the resources used by this Leadtools.Codecs.CodecsImageInfo.
Leadtools.Codecs.CodecsOptions.Dispose(bool) Releases all the resources used by this Leadtools.Codecs.CodecsOptions.
Leadtools.Codecs.CodecsOverlayCallback - Provides a callback method that gets called when loading a file containing an overlay.
Leadtools.Codecs.CodecsTransformMarkerCallback - Handles the processing of every JPEG marker present in the file transformed by Leadtools.Codecs.RasterCodecs.Transform(System.String,System.String,Leadtools.Codecs.CodecsTransformFlags,System.Int32,Leadtools.Codecs.CodecsTransformMarkerCallback).
Leadtools.Codecs.RasterCodecs.Dispose(bool) Releases all the resources used by this Leadtools.Codecs.RasterCodecs.
Leadtools.Codecs.RasterCodecs.ReadTagsWithOffsets(Stream,int,Int64[]@) Reads all the tags stored in a TIFF file, along with the offsets for each tag.
Leadtools.Codecs.RasterCodecs.ReadTagsWithOffsets(string,int,Int64[]@) Reads all the tags stored in a TIFF file, along with the offsets for each tag.
Leadtools.Codecs.RasterCodecs.ReadTagsWithOffsetsAsync(ILeadStream,int,IVector<System.Int64>) Reads all the tags stored in a TIFF file, along with the offsets for each tag.

Version Changes: 17.5 to 18

New Members

The following members have been added to the existing types:

Member Description
Leadtools.Codecs.CodecsImageInfo.GetStringDescription Returns a human-readable representation of this CodecsImageInfo.
Leadtools.Codecs.CodecsExtension.Data (WinRT) Gets a RasterNativeBuffer that contains the extension data.
Leadtools.Codecs.CodecsLoadImageEventArgs.Stream (WinRT) Gets the Leadtools.ILeadStream associated with the file load process.
Leadtools.Codecs.CodecsLoadInformationEventArgs.fileHandle (Objective C) Gets the NSFileHandle used by the load process.
Leadtools.Codecs.CodecsLoadInformationEventArgs.Stream (WinRT) Gets the stream used by the load process.
Leadtools.Codecs.CodecsPageEventArgs.Stream Gets the stream used by the load process.
Leadtools.Codecs.RasterCodecs.GetTotalPages(String) Gets the number of pages in a disk file image.
Leadtools.Codecs.RasterCodecs.GetTotalPages(IO.Stream) Gets the number of pages in a stream.
Leadtools.Codecs.RasterCodecs.GetTotalPages(Uri) Gets the number of pages of an image URI.
Leadtools.Codecs.RasterCodecs.GetTotalPagesAsync(Leadtools.ILeadStream) Gets the number of pages in a stream.
Leadtools.Codecs.RasterCodecs.GetFormat(String) Gets the format of the image in a disk file.
Leadtools.Codecs.RasterCodecs.GetFormat(IO.Stream) Gets the format of the image in a stream.
Leadtools.Codecs.RasterCodecs.GetFormat(Uri) Gets the format of the image URI.
Leadtools.Codecs.RasterCodecs.GetFormatAsync(Leadtools.ILeadStream) Gets the format of the image in a stream.
Leadtools.Codecs.RasterCodecs.Load(String,Int32) Loads the specified page from an image file using default options.
Leadtools.Codecs.RasterCodecs.Load(IO.Stream,Int32) Loads the specified page from an image stream using default options.
Leadtools.Codecs.RasterCodecs.Load(Uri,Int32) Loads a page from the specified image URL using default options.
Leadtools.Codecs.RasterCodecs.Convert(String,String,Leadtools.RasterImageFormat,Int32,Int32,Int32,Int32,Leadtools.Codecs.CodecsImageInfo) Converts an image file from one format to another, creating a new file in the new format.
Leadtools.Codecs.RasterCodecs.Convert(IO.Stream,IO.Stream,Leadtools.RasterImageFormat,Int32,Int32,Int32,Int32,Leadtools.Codecs.CodecsImageInfo) Converts an image stream from one format to another, creating a new image file in a stream in the new format.
Leadtools.Codecs.RasterCodecs.DeleteComment(String,Int32,Leadtools.RasterCommentMetadataType) Deletes a comment field from a file.
Leadtools.Codecs.RasterCodecs.DeleteComment(IO.Stream,Int32,Leadtools.RasterCommentMetadataType) Deletes a comment field from a file.
Leadtools.Codecs.RasterCodecs.LoadAsync(String,Int32,Object) Loads the specified page from an image file using default options asynchronously.
Leadtools.Codecs.RasterCodecs.LoadAsync(IO.Stream,Int32,Object) Loads the specified page from an image stream using default options asynchronously.
Leadtools.Codecs.RasterCodecs.LoadAsync(Uri,Int32,Object) Loads the specified page from an image URL using default options asynchronously.
Leadtools.Codecs.RasterCodecs.GetInformationAsync(Leadtools.ILeadStream,Boolean,Int32) Gets the image information from a disk file asynchronously.
Leadtools.Codecs.RasterCodecs.LoadAsync(Leadtools.ILeadStream) Loads an image stream using the specified options asynchronously.
Leadtools.Codecs.RasterCodecs.LoadAsync(Leadtools.ILeadStream,Int32) Loads a page from an image stream using the specified options asynchronously.
Leadtools.Codecs.RasterCodecs.LoadAsync(Leadtools.ILeadStream,Int32,Leadtools.Codecs.CodecsLoadByteOrder,Int32,Int32) Loads the specified rectangle from the specified image stream using the specified options asynchronously.
Leadtools.Codecs.RasterCodecs.LoadAsync(Leadtools.ILeadStream,Leadtools.LeadRect) Loads the specified rectangle from the specified image stream using the specified options asynchronously.
Leadtools.Codecs.RasterCodecs.LoadAsync(Leadtools.ILeadStream,Leadtools.LeadRect,Int32,Leadtools.Codecs.CodecsLoadByteOrder,Int32,Int32) Loads the specified rectangle from the specified image stream using the specified options asynchronously.
Leadtools.Codecs.RasterCodecs.LoadAsync(Leadtools.ILeadStream,Int32,Int32,Int32,Leadtools.RasterSizeFlags,Leadtools.Codecs.CodecsLoadByteOrder) Loads the specified rectangle from the specified image stream using the specified options asynchronously.
Leadtools.Codecs.RasterCodecs.LoadAsync(Leadtools.ILeadStream,Int32,Int32,Int32,Leadtools.RasterSizeFlags,Leadtools.Codecs.CodecsLoadByteOrder,Int32,Int32) Loads the specified rectangle from the specified image stream using the specified options asynchronously.
Leadtools.Codecs.RasterCodecs.SaveAsync(Leadtools.RasterImage,Leadtools.ILeadStream,Leadtools.RasterImageFormat,Int32) Saves a RasterImage to a stream in any of the supported compressed or uncompressed formats.
Leadtools.Codecs.RasterCodecs.SaveAsync(Leadtools.RasterImage,Leadtools.ILeadStream,Leadtools.RasterImageFormat,Int32,Int32,Int32,Int32,Leadtools.Codecs.CodecsSavePageMode) Saves a RasterImage to a stream in any of the supported compressed or uncompressed formats.
Leadtools.Codecs.RasterCodecs.SaveStampAsync(Leadtools.RasterImage,Leadtools.ILeadStream) Saves a stamp in an existing file with specific options.
Leadtools.Codecs.RasterCodecs.SaveStampAsync(Leadtools.RasterImage,Leadtools.ILeadStream,Int32,Int32,Int32,Leadtools.Codecs.CodecsSavePageMode) Saves a stamp in an existing file with specific options.
Leadtools.Codecs.RasterCodecs.FeedLoad(IBuffer,Int32,Int32) Supplies unmanaged memory image data to the file-load process from a buffer that you provide.
Leadtools.Codecs.RasterCodecs.FeedGetInformation(IBuffer,Int32,Int32) Supplies unmanaged memory image data to the file information process from a buffer that you provide.
Leadtools.Codecs.RasterCodecs.DeletePageAsync(Leadtools.ILeadStream,Int32) Deletes the specified page from a multipage file in a stream, if the format supports delete operations.
Leadtools.Codecs.RasterCodecs.ReadLoadResolutionsAsync(Leadtools.ILeadStream) Examines a stream to determine which resolutions it contains.
Leadtools.Codecs.RasterCodecs.ConvertAsync(Leadtools.ILeadStream,Leadtools.ILeadStream,Leadtools.RasterImageFormat,Int32,Int32,Int32,Leadtools.Codecs.CodecsImageInfo) Converts an image stream from one format to another, creating a new image file in a stream in the new format.
Leadtools.Codecs.RasterCodecs.ReadMarkersAsync(Leadtools.ILeadStream) Reads all the metadata markers (COM and APPn) from a stream.
Leadtools.Codecs.RasterCodecs.ReadThumbnailAsync(Leadtools.ILeadStream,Leadtools.Codecs.CodecsThumbnailOptions,Int32) Creates a thumbnail from the specified image stream.
Leadtools.Codecs.RasterCodecs.ReadStampAsync(Leadtools.ILeadStream,Int32) Reads a thumbnail image stored in an image stream.
Leadtools.Codecs.RasterCodecs.EnumTagsAsync(Leadtools.ILeadStream,Int32) Enumerates all the tags in a stream.
Leadtools.Codecs.RasterCodecs.EnumGeoKeysAsync(Leadtools.ILeadStream,Int32) Enumerates all the GeoKeys in a Geo TIFF stream.
Leadtools.Codecs.RasterCodecs.DeleteTagAsync(Leadtools.ILeadStream,Int32,Int32) Deletes a tag from a stream, if the file supports tags (TIFF or Exif).
Leadtools.Codecs.RasterCodecs.ReadTagAsync(Leadtools.ILeadStream,Int32,Int32) Gets the specified tagged data from a TIFF stream.
Leadtools.Codecs.RasterCodecs.ReadTagsAsync(Leadtools.ILeadStream,Int32) Reads all the tags stored in a TIFF file.
Leadtools.Codecs.RasterCodecs.ReadTagsWithOffsetsAsync(Leadtools.ILeadStream,Int32,IVector<Int64>) Reads all the tags stored in a TIFF file, along with the offsets for each tag.
Leadtools.Codecs.RasterCodecs.ReadGeoKeyAsync(Leadtools.ILeadStream,Int32,Int32) Gets the specified GeoKey data from a TIFF stream.
Leadtools.Codecs.RasterCodecs.ReadGeoKeysAsync(Leadtools.ILeadStream,Int32) Reads all the GeoKey data found in a stream.
Leadtools.Codecs.RasterCodecs.WriteTagAsync(Leadtools.ILeadStream,Int32,Leadtools.RasterTagMetadata) Writes or changes a tag to an existing stream.
Leadtools.Codecs.RasterCodecs.WriteTagsAsync(Leadtools.ILeadStream,Int32,IVectorView<Leadtools.RasterTagMetadata>) Writes or changes one or more tags to an existing stream.
Leadtools.Codecs.RasterCodecs.WriteTagsAsync(Leadtools.ILeadStream,Int32,Leadtools.RasterTagMetadata[]) Writes or changes one or more tags to an existing stream.
Leadtools.Codecs.RasterCodecs.WriteGeoKeyAsync(Leadtools.ILeadStream,Int32,Leadtools.RasterTagMetadata) Writes or changes a GeoKeys to an existing stream.
Leadtools.Codecs.RasterCodecs.WriteGeoKeysAsync(Leadtools.ILeadStream,Int32,IVectorView<Leadtools.RasterTagMetadata>) Writes or changes one or more GeoKeys to an existing stream.
Leadtools.Codecs.RasterCodecs.WriteGeoKeysAsync(Leadtools.ILeadStream,Int32,Leadtools.RasterTagMetadata[]) Writes or changes one or more GeoKeys to an existing stream.
Leadtools.Codecs.RasterCodecs.ReadCommentAsync(Leadtools.ILeadStream,Int32,Leadtools.RasterCommentMetadataType) Gets a comment field from a stream.
Leadtools.Codecs.RasterCodecs.ReadCommentsAsync(Leadtools.ILeadStream,Int32) Gets all the comment fields stored in a stream.
Leadtools.Codecs.RasterCodecs.WriteCommentAsync(Leadtools.ILeadStream,Int32,Leadtools.RasterCommentMetadata) Writes a comment to an existing stream.
Leadtools.Codecs.RasterCodecs.WriteCommentsAsync(Leadtools.ILeadStream,Int32,IVectorView<Leadtools.RasterCommentMetadata>) Writes one or more comments to an existing stream.
Leadtools.Codecs.RasterCodecs.WriteCommentsAsync(Leadtools.ILeadStream,Int32,Leadtools.RasterCommentMetadata[]) Writes one or more comments to an existing stream.
Leadtools.Codecs.RasterCodecs.WriteMarkerAsync(Leadtools.ILeadStream,Int32,Leadtools.RasterMarkerMetadata) Writes a marker to an existing stream.
Leadtools.Codecs.RasterCodecs.WriteMarkersAsync(Leadtools.ILeadStream,Int32,IVectorView<Leadtools.RasterMarkerMetadata>) Writes one or more markers to an existing stream.
Leadtools.Codecs.RasterCodecs.WriteMarkersAsync(Leadtools.ILeadStream,Int32,Leadtools.RasterMarkerMetadata[]) Writes one or more markers to an existing stream.
Leadtools.Codecs.RasterCodecs.StartCompress(Int32,Int32,Int32,Leadtools.RasterByteOrder,Leadtools.RasterViewPerspective,Int32,Int32,Leadtools.Codecs.CodecsCompression,Leadtools.Codecs.CodecsCompressDataCallback) Initializes the buffered compression engine.
Leadtools.Codecs.RasterCodecs.StartCompress(Int32,Int32,Int32,Leadtools.RasterByteOrder,Leadtools.RasterViewPerspective,Int32,IBuffer,Int32,Int32,Leadtools.Codecs.CodecsCompression,Leadtools.Codecs.CodecsCompressDataCallback) Initializes the unmanaged memory buffered compression engine.
Leadtools.Codecs.RasterCodecs.Compress(IBuffer,Int32) Does buffer-to-buffer JPEG or LEAD CMP compression using an unmanaged memory buffer.
Leadtools.Codecs.RasterCodecs.Decompress(Object,IBuffer,Int32,Int32,Int32,Int32,Int32,Int32,Leadtools.Codecs.CodecsDecompressDataFlags) Called for each unmanaged memory buffer, strip or tile of decompressed data.
Leadtools.Codecs.RasterCodecs.LoadCmykPlanesAsync(Leadtools.ILeadStream,Int32,Int32) Loads CMYK TIFF streams as CMYK and avoids the colorspace conversion to RGB.
Leadtools.Codecs.RasterCodecs.SaveCmykPlanesAsync(Leadtools.RasterImage,Leadtools.ILeadStream,Leadtools.RasterImageFormat,Int32,Int32,Leadtools.Codecs.CodecsSavePageMode) Saves the pages of an image as a CMYK TIFF stream.
Leadtools.Codecs.RasterCodecs.ReadExtensionsAsync(Leadtools.ILeadStream,Int32) Loads extensions from the specified Exif stream.
Leadtools.Codecs.RasterCodecs.GetRasterPdfInfoAsync(Leadtools.ILeadStream,Int32) Gets information about a page in a raster PDF file contained in a stream created with the LEADTOOLS Raster PDF plug in.
Leadtools.Codecs.RasterCodecs.LoadPsdLayerAsync(Leadtools.ILeadStream,Int32,Leadtools.Codecs.CodecsLoadByteOrder,Int32,Leadtools.Codecs.CodecsPsdLayerInfo) Loads the specified layer from the specified PSD file.
Leadtools.Codecs.RasterCodecs.LoadPsdChannelAsync(Leadtools.ILeadStream,Int32,Leadtools.Codecs.CodecsLoadByteOrder,Int32,Leadtools.Codecs.CodecsPsdChannelInfo) Loads the specified channel from the specified PSD file.
Leadtools.Codecs.RasterCodecs.SavePsdWithLayersAsync(Leadtools.RasterImage,Leadtools.ILeadStream,Int32,Leadtools.RasterImage,Leadtools.Codecs.CodecsPsdLayerInfo[]) Saves an image to a PSD file, along with the specified layers.
Leadtools.Codecs.RasterCodecs.DeleteCommentAsync(Leadtools.ILeadStream,Int32,Leadtools.RasterCommentMetadataType) Deletes a comment field from a file.
Leadtools.Codecs.RasterCodecs.LoadAsync(IO.Stream,Int32,Int32,Int32,Leadtools.RasterSizeFlags,Leadtools.Codecs.CodecsLoadByteOrder,Object) (Java) Loads an image file asynchronously to the desired width, height, and bits per pixel, resizing the image as it loads.
Leadtools.Codecs.RasterCodecs.LoadAsync(IO.Stream,Int32,Int32,Int32,Leadtools.RasterSizeFlags,Leadtools.Codecs.CodecsLoadByteOrder,Int32,Int32,Object) (Java) Loads the specified pages to the desired width, height, and bits per pixel, resizing the image as it loads.
Leadtools.Codecs.RasterCodecs.FormatSupportsMultipageSave(Leadtools.RasterImageFormat) Gets a value that indicate whether the specified format supports multi-page save operation.
Leadtools.Codecs.RasterCodecs.SaveOptions(String) Saves the options of this RasterCodecs to a disk file.
Leadtools.Codecs.RasterCodecs.SaveOptions(IO.Stream) Saves the options of this RasterCodecs to a stream.
Leadtools.Codecs.RasterCodecs.LoadOptions(String) Loads the options into this RasterCodecs from a disk file.
Leadtools.Codecs.RasterCodecs.LoadOptions(IO.Stream) Loads the options into this RasterCodecs from a stream.
Leadtools.Codecs.RasterCodecs.EventsDispatchMode Gets or sets a value that specifies the mode used to dispatch LEADTOOLS events.
Leadtools.Codecs.CodecsSaveImageEventArgs.Stream (WinRT) Gets the stream object currently being saved.
Leadtools.Codecs.CodecsLoadOptions.AllPages Gets or sets a value that indicate whether RasterCodecs should try to load all the pages of a file by default.
Leadtools.Codecs.CodecsLoadOptions.PremultiplyAlpha Indicates whether LEADTOOLS should pre-multiply the alpha values when loading the image data.

Android,iOS / macOS, and .NET WinForms support - LEADTOOLS V18 adds Android support to its toolkits through the new LEADTOOLS Android SDK. In addition, iOS / macOS support for its toolkits has been added through the new LEADTOOLS iOS / macOS SDK; and .NET WinForms support has been added through the new LEADTOOLS .NET WinForms SDK. These toolkits provide everything a developer needs to create imaging-enabled Android, iOS / macOS, or .NET WinForms applications.

New Libraries

The following Libraries have been added to LEADTOOLS v18:

Packages, Frameworks or DLLs / Shared Object Libraries Comments
leadtools.codecs.jar Contains Android classes, methods, properties, and events for loading/saving any supported image format and for obtaining information about images (width, height, bits per pixel, page count, etc.). Individual file filters have their own shared object libraries (.so): libleadtools.codecs.bmp.so
libleadtools.codecs.cmp.so
libleadtools.codecs.fax.so
libleadtools.codecs.gif.so
libleadtools.codecs.j2k.so
libleadtools.codecs.jb2.so
libleadtools.codecs.jbg.so
libleadtools.codecs.jls.so
libleadtools.codecs.jxr.so
libleadtools.codecs.pcx.so
libleadtools.codecs.png.so
libleadtools.codecs.psd.so
libleadtools.codecs.so
libleadtools.codecs.tif.so
Leadtools.Codecs.framework Contains iOS / macOS classes, methods, properties, and events for loading/saving any supported image format and for obtaining information about images (width, height, bits per pixel, page count, etc.). Each supported file filter also has its own .SO library (libleadtools.codecs.*.so).
Leadtools.Codecs.DLL .NET WinForms support for loading/saving any supported image format and for obtaining information about images (width, height, bits per pixel, page count, etc.).
libleadtools.codecs.cmp.so libleadtools.codecs.fax.so libleadtools.codecs.gif.so libleadtools.codecs.j2k.so libleadtools.codecs.jb2.so libleadtools.codecs.jbg.so libleadtools.codecs.jls.so libleadtools.codecs.jxr.so libleadtools.codecs.pcx.so libleadtools.codecs.png.so libleadtools.codecs.psd.so libleadtools.codecs.so libleadtools.codecs.tif.so |

| Leadtools.Codecs.framework | Contains iOS / macOS classes, methods, properties, and events for loading/saving any supported image format and for obtaining information about images (width, height, bits per pixel, page count, etc.). Each supported file filter also has its own .SO library (libleadtools.codecs.*.so). | | Leadtools.Codecs.DLL | .NET WinForms support for loading/saving any supported image format and for obtaining information about images (width, height, bits per pixel, page count, etc.). |

New Members

The following members have been added:

Member Description
Leadtools.Codecs.CodecsLoadOptions.PremultiplyAlpha Indicates whether LEADTOOLS should pre-multiply the alpha values when loading the image data.

For more information, refer to New in 18.

 

Version Changes: 17 to 17.5

WinRT support - LEADTOOLS V17.5 adds WinRT support for codecs through the new LEADTOOLS WinRT SDK. The LEADTOOLS WinRT SDK contains everything a developer needs to create imaging-enabled Windows Store applications. It is available as an add-on to any of the Document or Medical products.

New Library

The following Library has been added to LEADTOOLS v17.5:

Assemblies Metadata Comments
Leadtools.Codecs.DLL Leadtools.Codecs.winmd Contains classes, methods, properties, and events for loading/saving any supported image format and for obtaining information about images (width, height, bits per pixel, page count, etc.).

The following member and types have been removed:

Member Description
RasterCodecs.Startup method

Deprecated method no longer needed.

RasterCodecs.Shutdown method

Deprecated method no longer needed.

CodecsSidOptions, CodecsSidLoadOptions classes and CodecsOptions.Sid property

Deprecated SID file format supported removed.

CodecsRasterizeDocumentLoadOptions.Enabled property See notes below on CodecsRasterizeDocumentLoadOptions.
CodecsPdfLoadOptions.XResolution and CodecsPdfLoadOptions.YResolution properties See notes below on CodecsRasterizeDocumentLoadOptions.
CodecsXpsLoadOptions.Resolution property See notes below on CodecsRasterizeDocumentLoadOptions.
CodecsTxtLoadOptions.LeftMargin, CodecsTxtLoadOptions.TopMargin, CodecsTxtLoadOptions.RightMargin, CodecsTxtLoadOptions.BottomMargin, CodecsTxtLoadOptions.PaperWidth and CodecsTxtLoadOptions.PaperHeight properties See notes below on CodecsRasterizeDocumentLoadOptions.
CodecsRtfLoadOptions.LeftMargin, CodecsRtfLoadOptions.TopMargin, CodecsRtfLoadOptions.RightMargin, CodecsRtfLoadOptions.BottomMargin, CodecsRtfLoadOptions.PaperWidth, CodecsRtfLoadOptions.PaperHeight, CodecsRtfLoadOptions.XResolution and CodecsRtfLoadOptions.YResolution properties See notes below on CodecsRasterizeDocumentLoadOptions.

The following members have been added:

Member Description
Leadtools.Codecs.CodecsPdfLoadOptions.HideNoApAnnotations Gets or sets a value that indicate whether to hide annotation objects that have no appearance stream.
Leadtools.Codecs.CodecsPdfLoadOptions.HideAllAnnotations Gets or sets a value that indicates whether to hide all annotation objects.
Leadtools.Codecs.CodecsPdfSaveOptions.SavePdfv17 Gets or sets a value indicating whether the PDF file should be saved as PDF v1.7.
Leadtools.Codecs.RasterCodecs.GetMimeType Gets a string that represents the MIME type for the specified Leadtools.RasterImageFormat file format.
Leadtools.Codecs.CodecsImageInfo.Vector Gets extra information about the image if the file is a vector format.

In LEADTOOLS 17.5, the following members have been added to the RasterImageFormat enumeration and are listed in the table below:

RasterImageFormat enumeration member Description
Htm HyperText Markup Language.
Mob Mobipocket.
Pub Electronic Publication.
Ing INGR.
IngRle INGR RLE.
IngAdaptiveRle INGR Adaptive RLE.
IngG4 INGR CCITT G4.
IcaJpeg IOCA, compressed using JPEG, with MO:DCA wrapper (multipage)..
IcaJpeg411 IOCA, compressed using JPEG 4:1:1, with MO:DCA wrapper (multipage)..
IcaJpeg422 IOCA, compressed using JPEG 4:2:2, with MO:DCA wrapper (multipage)..
Dwfx Autodesk DWF XPS Document.

In LEADTOOLS 17.5, the CodecsRasterizeDocumentLoadOptions class is used exclusively to determine and calculate the page size, resolution and margins (rasterization) when loading document file formats that do not have physical size as a raster image. These file formats are listed in the table below:

RasterImageFormat enumeration member Description
RasPdf Adobe Portable Document Format (PDF).
Postscript PostScript Document Format (PS).
Eps and EpsPostscript Encapsulated PostScript.
Xps XML Paper Specification (XPS).
Txt Text Format. LEADTOOLS can load ASCII and Unicode text files as raster images. Refer to CodecsTxtLoadOptions.
RtfRaster Rich Text Format (RTF).
Doc Microsoft Word 2003 file format (DOC).
Docx(2007/2010) Microsoft Office 2007/2010 Word file format (DOCX).
Xls Microsoft Excel 2003 file format (XLS).
Xlsx(2007/2010) Microsoft Office 2007/2010 Excel file format (XLSX).
Ppt Microsoft Power Point 2003 file format (PPT).
Pptx(2007/2010) Microsoft Office 2007/2010 PowerPoint file format (PPTX).

In previous versions of LEADTOOLS, the options to control the rasterization process have been consolidated into the CodecsRasterizeDocumentLoadOptions class and old class members were deprecated. In 17.5, these deprecated members are removed from the toolkit. The following table lists the removed members and their replacements:

Removed Member Replacement

CodecsRasterizeDocumentLoadOptions.Enabled

None. This has been removed and CodecsRasterizeDocumentLoadOptions is always used when rasterization document files (the equivalent CodecsRasterizeDocumentLoadOptions.Enabled = true in previous versions of LEADTOOLS)

CodecsPdfLoadOptions.XResolution and CodecsPdfLoadOptions.YResolution

CodecsRasterizeDocumentLoadOptions.XResolution and CodecsRasterizeDocumentLoadOptions.YResolution

CodecsXpsLoadOptions.Resolution

CodecsRasterizeDocumentLoadOptions.XResolution and CodecsRasterizeDocumentLoadOptions.YResolution

CodecsTxtLoadOptions.LeftMargin, CodecsTxtLoadOptions.TopMargin, CodecsTxtLoadOptions.RightMargin, CodecsTxtLoadOptions.BottomMargin, CodecsTxtLoadOptions.PaperWidth and CodecsTxtLoadOptions.PaperHeight

CodecsRasterizeDocumentLoadOptions.LeftMargin, CodecsRasterizeDocumentLoadOptions.TopMargin, CodecsRasterizeDocumentLoadOptions.RightMargin, CodecsRasterizeDocumentLoadOptions.BottomMargin,

CodecsRtfLoadOptions.LeftMargin, CodecsRtfLoadOptions.TopMargin, CodecsRtfLoadOptions.RightMargin, CodecsRtfLoadOptions.BottomMargin, CodecsRtfLoadOptions.PaperWidth, CodecsRtfLoadOptions.PaperHeight, CodecsRtfLoadOptions.XResolution and CodecsRtfLoadOptions.YResolution

CodecsRasterizeDocumentLoadOptions.LeftMargin, CodecsRasterizeDocumentLoadOptions.TopMargin, CodecsRasterizeDocumentLoadOptions.RightMargin, CodecsRasterizeDocumentLoadOptions.BottomMargin, CodecsRasterizeDocumentLoadOptions.PageWidth, CodecsRasterizeDocumentLoadOptions.PageHeight, CodecsRasterizeDocumentLoadOptions.XResolution and CodecsRasterizeDocumentLoadOptions.YResolution

As well as the changes listed above, note that the following members contain updated default values:

Member Old value New value Notes
CodecsRasterizeDocumentLoadOptions.XResolution and CodecsRasterizeDocumentLoadOptions.YResolution 0, 0 300, 300

In previous versions of LEADTOOLS, a value of 0 was used for these members to instruct the toolkit to load the documents using the current screen resolution. This proved to be not an optimal solution since the result document will almost always be loaded using a small resolution (such as 96 DPI) that is unsuitable for detailed viewing or OCRing.

The new default of 300 by 300 DPI results in documents loaded at a higher detailed resolution.

CodecsPdfLoadOptions.DisplayDepth 24 0

In previous versions of LEADTOOLS, PDF documents were rasterized at 24 BPP by default regardless of the number of colors in the original document. The new default value of 0 instructs LEADTOOLS to auto-detect the best bits/pixel value to use when loading a PDF file, hence, a black/white PDF file will be loaded at 1BPP by default resulting in a much less memory being used.

Version Changes: 16.5 to 17

Note on LEADTOOLS for .NET v17

In LEADTOOLS for .NET v16.5, some assemblies had a dependency on System.Drawing. System.Drawing is the .NET 2.0 assembly used with the Windows Forms and GDI+ platforms. Since LEADTOOLS v17 treats Windows Forms, Windows Presentation Foundation (WPF) and Silverlight as equal citizens, certain types in this LEADTOOLS assembly have been changed to reflect that. For example, properties with System.Drawing.Point type have been changed to use the new Leadtools.LeadPoint type, methods with a parameter of System.Drawing.Rectangle type have been changed to use the new Leadtools.LeadRect type. The following table shows the old 16.5 and corresponding new v17 types:

Old v16.5 Type

New v17 Type

System.Drawing.Point

Leadtools.LeadPoint

System.Drawing.Size

Leadtools.LeadSize

System.Drawing.Rectangle

Leadtools.LeadRect

System.Drawing.Color

Leadtools.RasterColor

System.Drawing.Drawing2.FillMode

Leadtools.LeadFillMode

These changes are not listed in the topics below.

New Types

The following new types have been added to LEADTOOLS For .NET v17:

Type Description
CodecsDocOptions

Provides extra options for loading and saving Microsoft Word 2003 (DOC) files.

CodecsDocLoadOptions

Provides the options for loading Microsoft Word 2003 (DOC) documents as a raster image.

CodecsAnzOptions

Provides extra options for loading and saving ANZ (Analyze) images.

CodecsAnzLoadOptions

Provides options specifically for loading ANZ (Analyze) images.

CodecsAnzView

Indicates the view to use when loading ANZ (Analyze) images.

RasterImageTypeConverter

RasterImageTypeConverter is a class that can be used to convert RasterImage objects from other data types.

CodecsAsyncCompletedEventArgs

Base class for the CodecsGetInformationAsyncCompletedEventArgs and CodecsLoadAsyncCompletedEventArgs classes.

CodecsLoadAsyncCompletedEventArgs

Contains data for the RasterCodecs.LoadAsyncCompleted event.

CodecsGetInformationAsyncCompletedEventArgs

Contains data for the RasterCodecs.GetInformationAsyncCompleted event.

CodecsCompressDataCallback(int width, int height, int bitsPerPixel, RasterByteOrder order, RasterViewPerspective viewPerspective, RasterNativeBuffer buffer)

Replaces CodecsCompressDataCallback(int width, int height, int bitsPerPixel, RasterByteOrder order, RasterViewPerspective viewPerspective, IntPtr data, long dataLength)

CodecsTransformMarkerCallback(int id, RasterNativeBuffer buffer, CodecsTransformFlags transform)

Replaces CodecsTransformMarkerCallback(int id, IntPtr data, int dataLength, CodecsTransformFlags transform)

CodecsRasterPdfVersion Indicates the PDF file version.
CodecsRasterPdfInfo Contains information for a raster PDF file created with the LEADTOOLS Raster PDF plug in
CodecsVffView Indicates the view to use when loading VFF (Sun TAAC Bitmap) images.
CodecsVffOptions Provides extra options for loading and saving VFF (Sun TAAC Bitmap) images.

New Members

The following members have been added to existing types in v17:

Member Description
RasterCodecs.LoadAsync

Loads an image from a disk file, stream or URL asynchronously.

RasterCodecs.LoadAsyncCompleted

Indicates that an asynchronous load operation has been completed.

RasterCodecs.GetInformationAsync

Gets the image information from a disk file, stream or URL asynchronously.

RasterCodecs.GetInformationAsyncCompleted

Indicates that an asynchronous get information operation has been completed.

RasterCodecs.UseAsync

Creates the WebClient object used for asynchronous operations.

RasterCodecs.AsyncWebClient

Gets the WebClient object used for asynchronous operations.

RasterCodecs.IsAsyncBusy

Gets a value that determines whether this RasterCodecs object is currently busy with an asynchronous operation on a URL.

RasterCodecs.CancelAsync

Cancels a pending asynchronous operation.

CodecsOptions.Doc

Gets the DOC load and save options.

CodecsOptions.Anz

Gets the ANZ (Analyze) load and save options.

CodecsPdfLoadOptions.EnableInterpolate

Enables or disables interpolation when loading PDF.

CodecsImageInfo.IsLoading

Gets a value that determines whether this CodecsImageInfo object is still loading.

CodecsEnumGeoKeysEventArgs.Buffer

Replaces CodecsEnumGeoKeysEventArgs.Data and CodecsEnumGeoKeysEventArgs.DataLength

CodecsEnumGeoKeysEventArgs.ToRasterTagMetadata

Constructs a RasterTagMetadata from this GeoKey data.

CodecsLoadImageEventArgs.Buffer

Replaces CodecsLoadImageEventArgs.Buffer and CodecsLoadImageEventArgs.Length

CodecsLoadImageEventArgs.FirstPage

Gets the index of the first page being loaded.

CodecsLoadImageEventArgs.LastPage

Gets the index of the last page being loaded. Replaces CodecsLoadImageEventArgs.PageCount

CodecsLoadImageEventArgs.PagePercent

Gets the load completion percentage of the current page.

CodecsLoadImageEventArgs.TotalPercent

Gets the overall load completion percentage for the load operation.

CodecsSaveImageEventArgs.Buffer

Replaces CodecsSaveImageEventArgs.Buffer CodecsSaveImageEventArgs.Length

RasterCodecs.CompactFile(Stream srcStream, Stream destStream, int pages, int srcStartPage, bool useSrcIfd, int srcIfd, int destStartPage, bool useDestIfd, int destIfd, CodecsSavePageMode pageMode, bool noSubFileType, bool motorolaOrder)

Compacts TIFF streams with specific options.

RasterCodecs.CompactFile(Stream srcStream, Stream destStream, int pages)

Compacts TIFF streams with default options.

RasterCodecs.ReadThumbnail(Stream stream, CodecsThumbnailOptions options, int pageNumber)

Creates a thumbnail from the specified image stream.

RasterCodecs.ReadStamp(Stream stream, int pageNumber)

Reads a thumbnail image stored in an image stream.

RasterCodecs.SaveStamp(RasterImage image, Stream stream, int firstPage, int lastPage, int firstSavePageNumber, CodecsSavePageMode pageMode)

Saves a stamp in an existing stream with specific options.

RasterCodecs.SaveStamp(RasterImage image, Stream stream)

Saves a stamp in an existing stream with default options.

RasterCodecs.DeleteTag(Stream stream, int pageNumber, int id)

Deletes a tag from a stream, if the file supports tags (TIFF or Exif).

RasterCodecs.DeletePage(Stream stream, int page)

Deletes the specified page from a multipage file in a stream, if the format supports delete operations.

RasterCodecs.ReadLoadResolutions(Stream stream)

Examines a FlashPix, ECW, PhotoCD, or JBIG streams to determine which resolutions it contains.

public void Leadtools.Codecs.RasterCodecs.Convert(Stream srcStream, Stream destStream, RasterImageFormat format, int width, int height, int bitsPerPixel, CodecsImageInfo info)

Converts an image stream from one format to another, creating a new image file in a stream in the new format.

RasterCodecs.LoadCmykPlanes(Stream stream, int bitsPerPixel, int page)

Loads CMYK TIFF streams as CMYK and avoids the colorspace conversion to RGB.

RasterCodecs.SaveCmykPlanes(RasterImage image, Stream stream, RasterImageFormat format, int bitsPerPlane, int pageNumber, CodecsSavePageMode pageMode)

Saves the pages of an image as a CMYK TIFF stream.

CodecsRtfOptions.LoadMetafile

Loads the specified RTF file as a Windows Enhanced Metafile.

CodecsPdfSaveOptions.Version Gets or sets a value indicating the version of the PDF file saved by this RasterCodecs object.
CodecsPdfSaveOptions.SavePdfv16 Gets or sets a value indicating whether the PDF file should be saved as PDF v1.6.
RasterCodecs.GetRasterPdfInfo Gets information for a page in a raster PDF file created with the LEADTOOLS Raster PDF plug in.
CodecsCompression.J2k JPEG 2000 file.
CodecsCompression.Jp2 JPEG 2000 stream.

Version Changes: 16 to 16.5

Enhanced Features

LEADTOOLS version 16.5 includesJPEG2000 and JPEG support enhancements to improve performance compared to version 16.0 as follows:

For more information, refer to: What's New in Version 16.5.

New Classes

The following classes have been added in LEADTOOLS for .NET v16.5:

Type Description
Leadtools.Codecs.CodecsPsdChannelInfo Provides information about a specified channel in the PSD file.
Leadtools.Codecs.CodecsEcwLoadOptions Provides options specifically for loading ECW images.
Leadtools.Codecs.CodecsEcwOptions Provides extra options for loading and saving ECW images.
Leadtools.Codecs.CodecsRasterizeDocumentLoadOptions Contains set the options for loading a document file as a raster image (rasterization).

New Members

The following members have been added to existing types in LEADTOOLS for .NET v16.5:

Member Description
Leadtools.Codecs.RasterCodecs.LoadPsdChannel Loads the specified channel from the specified PSD file.
Leadtools.Codecs.RasterCodecs.FastFileInfo Enables or disables fast file info processing.
Leadtools.Codecs.CodecsTxtLoadOptions.UseSystemLocale Indicates whether to use the current Windows locale (code page) when rendering text files.
Leadtools.Codecs.RasterCodecs.EnumTags(Stream,Int32) Enumerates all the tags in a stream.
Leadtools.Codecs.RasterCodecs.EnumGeoKeys(Stream,Int32) Enumerates all the GeoKeys in a Geo TIFF stream.
Leadtools.Codecs.RasterCodecs.TagsSupported Checks whether the given file format supports tags.
Leadtools.Codecs.RasterCodecs.GeoKeysSupported Checks whether the given file format supports TIFF Geo key tags.
Leadtools.Codecs.RasterCodecs.CommentsSupported Checks whether the given file format supports comment fields.
Leadtools.Codecs.RasterCodecs.ReadTags Reads all the tags stored in a TIFF file.
Leadtools.Codecs.RasterCodecs.ReadGeoKeys Read all the GeoKey data found in a TIFF file.
Leadtools.Codecs.RasterCodecs.ReadComments Gets all the comment fields stored in a file.

New Enumerations

The following enumerations have been added to LEADTOOLS for .NET v16.5:

Enumerations Description
Leadtools.Codecs.CodecsPsdChannelType Indicates the PSD channel type.
Leadtools.Codecs.CodecsRasterizeDocumentSizeMode Specifies the transformation to use when converting the logical size specified in the current document rasterization options to the final physical raster image size.

Changed Members

The following members have been changed in LEADTOOLS for .NET v16.5:

Member Description
Leadtools.Codecs.RasterCodecs.FeedGetInformtion(System.IntPtr, System.Int64) Property length has changed to Int64
Leadtools.Codecs.RasterCodecs.UriOperationBufferSize Property type has changed to Int32
Leadtools.Codecs.RasterCodecs.WriteTransformMarker Property dataOffset and dataLength types have changed to Int32
Leadtools.Codecs.RasterCodecs.StartCompress Property inputDataLength and outputDataLength types have changed to Int32
Leadtools.Codecs.RasterCodecs.Compress Property dataOffset and dataLength types have changed to Int32
Leadtools.Codecs.RasterCodecs.Decompress Property dataOffset and dataLength types have changed to Int32
Leadtools.Codecs.RasterCodecs.FeedLoad Property offset and length types have changed to Int32
Leadtools.Codecs.RasterCodecs.FeedGetInformation(data,offset,length Property offset and length types have changed to Int32
Leadtools.Codecs.RasterCodecs.FeedGetInformation(data, length Property length type has changed to Int64
Leadtools.Codecs.RasterCodecs.CompactFile Property srclfd type has changed to Int32
Leadtools.Codecs.CodecsEnumGeoKeysEventArgs.html Property DataLength type has changed to Int64
Leadtools.Codecs.CodecsEnumTagsEventArgs Property Count type has changed to Int32
Leadtools.Codecs.CodecsLoadImageEventArgs Property Length type has changed to Int64
Leadtools.Codecs.CodecsSaveImageEventArgs Property Length type has changed to Int64
Leadtools.Codecs.CodecsJpeg2000SaveOptions Property TargetFileSize type has changed to Int64
Leadtools.Codecs.CodecsLoadInformationEventArgs Property Offset type has changed to Int64
Leadtools.Codecs.CodecsExtension Property DataLength type has changed to Int32

Deprecated Types

The following types are being deprecated as of LEADTOOLS for .NET v16.5:

Type Description
CodecsSidOptions Class Deprecated - No longer supported. Provides extra options for loading and saving SID images.
CodecsSidLoadOptions Class Deprecated - No longer supported. Gets the options for loading SID images

Version Changes: 15 to 16

New Types

The following types have been added to LEADTOOLS For .NET v16:

Type Description
Leadtools.Codecs.CodecsJpeg2000PrecinctSize Enumeration values that specify the size of JPEG 2000 compressed packets and provide a means of random access into a JPEG 2000 compressed stream.

New Members

The following members have been added to existing types in v16:

Member Description
CodecsJpeg2000SaveOptions.PrecinctSize Specifies the precinct size. for a list of possible values refer to Leadtools.Codecs.CodecsJpeg2000SaveOptions.PrecinctSize.
CodecsPdfSaveOptions.SavePdfA

Gets or sets a value indicating whether the PDF file should be saved as PDF/A or not.

CodecsPdfSaveOptions.SavePdfv14

Gets or sets a value indicating whether the PDF file should be saved as PDF v1.4.

CodecsPdfSaveOptions.SavePdfv15

Gets or sets a value indicating whether the PDF file should be saved as PDF v1.5.

Version Changes: 14.5 to 15

New Types

The following types have been added to LEADTOOLS For .NET v15:

Type Description
Leadtools.Codecs.CodecsCompressDataCallback Provides a callback method that gets called when compressed data is available.
Leadtools.Codecs.CodecsOverlayCallback Provides a callback method that gets called when loading a file containing an overlay.
Leadtools.Codecs.CodecsTransformMarkerCallback Handles the processing of every JPEG marker present in the file transformed by RasterCodecs.Transform.
CodecsSidOptions Deprecated - No longer supported. Provides extra options for loading and saving SID images.
CodecsSidLoadOptions Deprecated - No longer supported. Gets the options for loading SID images.
Leadtools.Codecs.CodecsFpxOptions Provides extra options for loading and saving FPX images.
Leadtools.Codecs.CodecsFpxLoadOptions Gets the options for loading FPX images.
Leadtools.Codecs.CodecsOverlayData Contains information about the overlay image found in the file.
Leadtools.Codecs.CodecsStartDecompressOptions Provides information and parameters for the RasterCodecs.StartDecompress method.

New Members

The following members have been added to existing types in v15:

Member Description
Leadtools.Codecs.RasterCodecs.Startup Initializes the required data to start the LEADTOOLS I/O Library. Must be called before any other method of the Leadtools.Codecs.RasterCodecs class.
Leadtools.Codecs.RasterCodecs.Shutdown Releases all the data used to start the LEADTOOLS I/O Library. Should not call any other method of the Leadtools.Codecs.RasterCodecs class after this method is called.
RasterCodecs.Options Is a get/set property now
RasterCodecs.ThrowExceptionsOnInvalidImages Gets or sets a value indicating whether to throw an exception instead of returning a null reference (Nothing in Visual Basic) on certain methods of this Leadtools.Codecs.RasterCodecs object.
CodecsEnumGeoKeysEventArgs.DataLength Replaced by CodecsEnumGeoKeysEventArgs.Buffer
CodecsOptions.Clone Creates an exact copy of the current page of this Leadtools.Codecs.CodecsOptions.
CodecsOptions.Fpx Gets the FPX load and save options.
CodecsOptions.Sid Deprecated - No longer supported. Gets the SID load and save options.
CodecsColorSpaceType.Cmyk CMYK colorspace.
CodecsJpeg2000SaveOptions.AlphaChannelActiveBits Gets and sets a value indicating the active bits for the alpha channel.
CodecsJpeg2000SaveOptions.AlphaChannelLossless Gets and sets a value indicating whether to save the alpha channel as lossless.
CodecsExtension.DataLength Gets the size in bytes of the extension data.
CodecsRedirectOpenEventArgs.Success Gets or sets a value indicating that the open operation was successful.

Event Handlers Delegates

LEADTOOLS For .NET Class Library uses the new .NET 2.0 generic event handler delegate module.

The following table lists the delegate types that have been removed in v.15:

Version 14.5 Version 15
CodecsEnumGeoKeysEventHandler EventHandler<CodecsEnumGeoKeysEventArgs >
CodecsEnumTagsEventHandler EventHandler<CodecsEnumTagsEventArgs >
CodecsLoadImageEventHandler EventHandler<CodecsLoadImageEventArgs >
CodecsLoadInformationEventHandler EventHandler<CodecsLoadInformationEventArgs >
CodecsPageEventHandler EventHandler<CodecsPageEventArgs>
CodecsRedirectCloseEventHandler EventHandler<CodecsRedirectCloseEventArgs >
CodecsRedirectOpenEventHandler EventHandler<CodecsRedirectOpenEventArgs >
CodecsRedirectReadEventHandler EventHandler<CodecsRedirectReadEventArgs >
CodecsRedirectSeekEventHandler EventHandler<CodecsRedirectSeekEventArgs >
CodecsRedirectWriteEventHandler EventHandler<CodecsRedirectWriteEventArgs >
CodecsSaveImageEventHandler EventHandler<CodecsSaveImageEventArgs >
CodecsRedirectFastReadEventHandler Fast read redirect event not needed anymore
CodecsRedirectFastWriteEventHandler Fast write redirect event not needed anymore

Removed Types

The following types have been removed in v.15:

Type Description
CodecsCompressDataEventArgs and CodecsCompressDataEventHandler Use Leadtools.Codecs.CodecsCompressDataCallback instead.
CodecsOverlayEventArgs and CodecsOverlayEventHandler Use Leadtools.Codecs.CodecsOverlayCallback instead.
CodecsTransformMarkerEventArgs and CodecsTransformMarkerEventHandler Use Leadtools.Codecs.CodecsTransformMarkerCallback instead.
CodecsRedirectFastReadEventArgs Fast read redirection not required anymore.
CodecsRedirectFastWriteEventArgs Fast write redirection not required anymore.
CodecsDecompressData Pass the data directly to RasterCodecs.StartCompress.
CodecsStartDecompressData Pass the data directly to RasterCodecs.StartDecompress.

Removed Members

The following members have been removed in v.15:

Member Description
RasterCodecs.CodecsPath No longer supported. The codecs must be in the application path or in the Global Assembly Cache (GAC). See RasterCodecs.Startup for more information.
RasterCodecs.InternalObject Internal use property removed
RasterCodecs.CompressData Use Leadtools.Codecs.CodecsCompressDataCallback instead
RasterCodecs.TransformMarker Use CodecsTransformMarkerCallback instead
RasterCodecs.ReadIccProfile Moved to the colorspace conversion assembly
RasterCodecs.RedirectFastRead Fast read is not needed anymore
RasterCodecs.RedirectFastWrite Fast write is not needed anymore
CodecsTxtLoadOptions.UseSystemLocale Uses UNICODE instead
CodecsImageInfo.InternalObject Internal use property removed
byte[] CodecsEnumGeoKeysEventArgs.Data Use CodecsEnumGeoKeysEventArgs.Bufferinstead.
CodecsOptions.InternalLoadOptions Internal use property removed
CodecsOptions.InternalSaveOptions Internal use property removed
CodecsLoadOptions.UnmanagedMemory Option removed
CodecsImageInfo.InternalObject Internal use property removed
CodecsRedirectOpenEventArgs.Stream The internal stream is no longer accessible
CodecsRedirectReadEventArgs.Stream The internal stream is no longer accessible
CodecsRedirectWriteEventArgs.Stream The internal stream is no longer accessible
CodecsRedirectSeekEventArgs.Stream The internal stream is no longer accessible
CodecsRedirectCloseEventArgs.Stream The internal stream is no longer accessible
byte[] CodecsSaveImageEventArgs.Buffer Use IntPtr CodecsSaveImageEventArgs.Buffer

Renamed Members

The following members have been renamed in v.15:

Version 14.5 Version 15
CodecsTxtLoadOptions.StrikeThrough CodecsTxtLoadOptions.Strikethrough
CodecsJpegSaveOptions.SaveWithoutTimeStamp CodecsJpegSaveOptions.SaveWithoutTimestamp
CodecsLoadByteOrder.BgrOrGrayorRomm CodecsLoadByteOrder.BgrOrGrayOrRomm

Properties Changed into Methods

The following properties have changed into methods in v.15:

Version 14.5 Version 15
RasterCodecs.CodecsCodecInformation RasterCodecs.GetCodecsInformation and RasterCodecs.SetCodecsInformation
CodecsGifSaveOptions.AnimationPalette CodecsGifSaveOptions.GetAnimationPalette and CodecsGifSaveOptions.SetAnimationPalette
CodecsImageInfo.Palette CodecsImageInfo.GetPalette
CodecsPsdLayerInfo.BlendModeKey CodecsPsdLayerInfo.GetBlendModeKey and CodecsPsdLayerInfo.SetBlendModeKey
CodecsPngLoadOptions.TrnsChunk CodecsPngLoadOptions.GetTrnsChunk and CodecsPngLoadOptions.SetTrnsChunk
CodecsExtensionList.Extensions CodecsExtensionList.GetExtensions
CodecsJpeg2000SaveOptions.HorizontalSubSamplingValues CodecsJpeg2000SaveOptions.GetHorizontalSubSamplingValues and CodecsJpeg2000SaveOptions.SetHorizontalSubSamplingValues
CodecsJpeg2000SaveOptions.VerticalSubSamplingValues CodecsJpeg2000SaveOptions.GetVerticalSubSamplingValues and CodecsJpeg2000SaveOptions.SetVerticalSubSamplingValues
CodecsLoadInformationEventArgs.Palette CodecsLoadInformationEventArgs.GetPalette and CodecsLoadInformationEventArgs.SetPalette
CodecsLoadInformationEventArgs.ColorMask CodecsLoadInformationEventArgs.GetColorMask and CodecsLoadInformationEventArgs.SetColorMask
CodecsGifImageInfo.AnimationPalette CodecsGifImageInfo.GetAnimationPalette
CodecsSaveOptions.Resolutions CodecsSaveOptions.GetResolutions and CodecsSaveOptions.SetResolutions

Methods Changed into Properties

The following methods have changed into properties in v.15:

Version 14.5 Version 15
RasterCodecs.GetLoadStatus RasterCodecs.LoadStatus

Members Changed

The following members changed in existing types in v.15:

Member Description
CodecsLoadImageEventArgs.Buffer Property type changed to IntPtr.
CodecsEnumGeoKeysEventArgs.Data Property type changed to IntPtr
CodecsExtensionList.GetAudioData Method return type changed to RasterNativeBuffer.
CodecsExtension.Data Property type changed to IntPtr.

Types Moved into Different Location

The following types have been moved into a different location:

Version 14.5 Version 15
Leadtools.Codecs.CodecsAbcOptions.CodecsAbcLoadOptions Leadtools.Codecs.CodecsAbcLoadOptions
Leadtools.Codecs.CodecsAbcOptions.CodecsAbcSaveOptions Leadtools.Codecs.CodecsAbcSaveOptions
Leadtools.Codecs.CodecsEcwOptions.CodecsEcwSaveOptions Leadtools.Codecs.CodecsEcwSaveOptions
Leadtools.Codecs.CodecsEpsOptions.CodecsEpsLoadOptions Leadtools.Codecs.CodecsEpsLoadOptions
Leadtools.Codecs.CodecsGifOptions.CodecsGifLoadOptions Leadtools.Codecs.CodecsGifLoadOptions
Leadtools.Codecs.CodecsGifOptions.CodecsGifSaveOptions Leadtools.Codecs.CodecsGifSaveOptions
Leadtools.Codecs.CodecsJbig2Options.CodecsJbig2SaveOptions Leadtools.Codecs.CodecsJbig2SaveOptions
Leadtools.Codecs.CodecsJbigOptions.CodecsJbigLoadOptions Leadtools.Codecs.CodecsJbigLoadOptions
Leadtools.Codecs.CodecsJpeg2000Options.CodecsJpeg2000LoadOptions Leadtools.Codecs.CodecsJpeg2000LoadOptions
Leadtools.Codecs.CodecsJpeg2000Options.CodecsJpeg2000SaveOptions Leadtools.Codecs.CodecsJpeg2000SaveOptions
Leadtools.Codecs.CodecsJpegOptions.CodecsJpegLoadOptions Leadtools.Codecs.CodecsJpegLoadOptions
Leadtools.Codecs.CodecsJpegOptions.CodecsJpegSaveOptions Leadtools.Codecs.CodecsJpegSaveOptions
Leadtools.Codecs.CodecsOptions.CodecsLoadOptions Leadtools.Codecs.CodecsLoadOptions
Leadtools.Codecs.CodecsOptions.CodecsSaveOptions Leadtools.Codecs.CodecsSaveOptions
Leadtools.Codecs.CodecsPcdOptions.CodecsPcdLoadOptions Leadtools.Codecs.CodecsPcdLoadOptions
Leadtools.Codecs.CodecsPdfOptions.CodecsPdfLoadOptions Leadtools.Codecs.CodecsPdfLoadOptions
Leadtools.Codecs.CodecsPdfOptions.CodecsPdfSaveOptions Leadtools.Codecs.CodecsPdfSaveOptions
Leadtools.Codecs.CodecsPngOptions.CodecsPngLoadOptions Leadtools.Codecs.CodecsPngLoadOptions
Leadtools.Codecs.CodecsPngOptions.CodecsPngSaveOptions Leadtools.Codecs.CodecsPngSaveOptions
Leadtools.Codecs.CodecsPtokaOptions.CodecsPtokaLoadOptions Leadtools.Codecs.CodecsPtokaLoadOptions
Leadtools.Codecs.CodecsRawOptions.CodecsRawSaveOptions Leadtools.Codecs.CodecsRawSaveOptions
Leadtools.Codecs.CodecsRtfOptions.CodecsRtfLoadOptions Leadtools.Codecs.CodecsRtfLoadOptions
Leadtools.Codecs.CodecsTiffOptions.CodecsTiffLoadOptions Leadtools.Codecs.CodecsTiffLoadOptions
Leadtools.Codecs.CodecsTiffOptions.CodecsTiffSaveOptions Leadtools.Codecs.CodecsTiffSaveOptions
Leadtools.Codecs.CodecsTxtOptions.CodecsTxtLoadOptions Leadtools.Codecs.CodecsTxtLoadOptions
Leadtools.Codecs.CodecsWmfOptions.CodecsWmfLoadOptions Leadtools.Codecs.CodecsWmfLoadOptions
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Imaging, Medical, and Document
Click or drag to resize