Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Leadtools.Codecs Assembly Changes

Version 16.5 changes

Version 16 changes

Version 15 changes

Leadtools.Codecs Assembly Changes from Version 16 to Version 16.5

Enhanced Features

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

  • JPEG2000 lossy decoder is 300 percent faster.
  • JPEG2000 lossless decoder is 10 percent faster.
  • JPEG2000 decoder uses MMX/SSD instructions by default. [To disable this feature and use floating point arithmetic, use either LOADFILEOPTION::Flags ELO_DISABLEP3 or LOADFILEOPTION::Flags = ELO_DISABLEMMX flags.]
  • JPEG lossless encoder and decoder are about 300 percent faster for RGB24 bitmaps.
  • JPEG lossless encoder and decoder are about 25 - 50 percent faster for Gray 8-, 12- and 16-bit bitmaps.
For more information, refer to: http://www.leadtools.com/Home2/general/new-in-v16_5.htm.

New Classes

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

TypeDescription
Leadtools.Codecs.CodecsPsdChannelInfoProvides 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:

MemberDescription
Leadtools.Codecs.RasterCodecs.LoadPsdChannelLoads the specified channel from the specified PSD file.
Leadtools.Codecs.RasterCodecs.FastFileInfoEnables or disables fast file info processing.
Leadtools.Codecs.CodecsTxtLoadOptions.UseSystemLocaleIndicates 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.TagsSupportedChecks whether the given file format supports tags.
Leadtools.Codecs.RasterCodecs.GeoKeysSupportedChecks whether the given file format supports TIFF Geo key tags.
Leadtools.Codecs.RasterCodecs.CommentsSupportedChecks whether the given file format supports comment fields.
Leadtools.Codecs.RasterCodecs.ReadTagsReads all the tags stored in a TIFF file.
Leadtools.Codecs.RasterCodecs.ReadGeoKeysRead all the GeoKey data found in a TIFF file.
Leadtools.Codecs.RasterCodecs.ReadCommentsGets all the comment fields stored in a file.

New Enumerations

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

EnumerationsDescription
Leadtools.Codecs.CodecsPsdChannelTypeIndicates the PSD channel type.
Leadtools.Codecs.CodecsRasterizeDocumentSizeModeSpecifies 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:

MemberDescription
Leadtools.Codecs.RasterCodecs.FeedGetInformtion(System.IntPtr, System.Int64 Property length has changed to Int64
Leadtools.Codecs.RasterCodecs.UriOperationBufferSize Property type has changed to Int32
WriteTransformMarker Property dataOffset and dataLength types have changed to Int32
StartCompress Property inputDataLength and outputDataLength types have changed to Int32
Compress Property dataOffset and dataLength types have changed to Int32
Decompress Property dataOffset and dataLength types have changed to Int32
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
CompactFile Property srclfd type has changed to Int32
CodecsEnumGeoKeysEventArgs Property DataLength type has changed to Int64
CodecsEnumTagsEventArgs Property Count type has changed to Int32
CodecsLoadImageEventArgs Property Length type has changed to Int64
CodecsSaveImageEventArgs Property Length type has changed to Int64
CodecsJpeg2000SaveOptions Property TargetFileSize type has changed to Int64
CodecsLoadInformationEventArgs Property Offset type has changed to Int64
CodecsExtension Property DataLength type has changed to Int32

Deprecated Types

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

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

Leadtools.Codecs Assembly Changes from Version 15 to Version 16

New Types

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

TypeDescription
CodecsJpeg2000PrecinctSizeEnumeration 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:

MemberDescription
CodecsJpeg2000SaveOptions.PrecinctSize Specifies the precinct size. for a list of possible values refer to CodecsJpeg2000PrecinctSize.
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.

Leadtools.Codecs Assembly Changes from Version 14.5 to Version 15

New Types

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

TypeDescription
CodecsCompressDataCallbackProvides a callback method that gets called when compressed data is available.
CodecsOverlayCallbackProvides a callback method that gets called when loading a file containing an overlay.
CodecsTransformMarkerCallback Handles the processing of every JPEG marker present in the file transformed by RasterCodecs.Transform.
CodecsSidOptionsDeprecated - No longer supported.Provides extra options for loading and saving SID images.
CodecsSidLoadOptionsDeprecated - No longer supported.Gets the options for loading SID images.
CodecsFpxOptionsProvides extra options for loading and saving FPX images.
CodecsFpxLoadOptionsGets the options for loading FPX images.
CodecsOverlayDataContains information about the overlay image found in the file.
CodecsStartDecompressOptions Provides information and parameters for the RasterCodecs.StartDecompress method.

New Members

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

MemberDescription
RasterCodecs.Startup Initializes the required data to start the LEADTOOLS I/O Library. Must be called before any other method of the RasterCodecs class.
RasterCodecs.Shutdown Releases all the data used to start the LEADTOOLS I/O Library. Should not call any other method of the RasterCodecs class after this method is called.
RasterCodecs.OptionsIs 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 RasterCodecs object.
CodecsEnumGeoKeysEventArgs.DataLengthGets the number of bytes in Data.
CodecsOptions.Clone Creates an exact copy of the current page of this CodecsOptions.
CodecsOptions.FpxGets the FPX load and save options.
CodecsOptions.SidDeprecated - No longer supported.Gets the SID load and save options.
CodecsColorSpaceType.CmykCMYK colorspace.
CodecsJpeg2000SaveOptions.AlphaChannelActiveBitsGets and sets a value indicating the active bits for the alpha channel.
CodecsJpeg2000SaveOptions.AlphaChannelLosslessGets and sets a value indicating whether to save the alpha channel as lossless.
CodecsExtension.DataLengthGets the size in bytes of the extension data.
SuccessCodecsRedirectOpenEventArgs.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.5Version 15
CodecsEnumGeoKeysEventHandlerEventHandler<CodecsEnumGeoKeysEventArgs>
CodecsEnumTagsEventHandlerEventHandler<CodecsEnumTagsEventArgs>
CodecsLoadImageEventHandlerEventHandler<CodecsLoadImageEventArgs>
CodecsLoadInformationEventHandlerEventHandler<CodecsLoadInformationEventArgs>
CodecsPageEventHandlerEventHandler<CodecsPageEventArgs>
CodecsRedirectCloseEventHandlerEventHandler<CodecsRedirectCloseEventArgs>
CodecsRedirectOpenEventHandlerEventHandler<CodecsRedirectOpenEventArgs>
CodecsRedirectReadEventHandlerEventHandler<CodecsRedirectReadEventArgs>
CodecsRedirectSeekEventHandlerEventHandler<CodecsRedirectSeekEventArgs>
CodecsRedirectWriteEventHandlerEventHandler<CodecsRedirectWriteEventArgs>
CodecsSaveImageEventHandlerEventHandler<CodecsSaveImageEventArgs>
CodecsRedirectFastReadEventHandlerFast read redirect event not needed anymore
CodecsRedirectFastWriteEventHandlerFast write redirect event not needed anymore

Removed Types

The following types have been removed in v.15:

TypeDescription
CodecsCompressDataEventArgs and CodecsCompressDataEventHandler Use CodecsCompressDataCallback instead.
CodecsOverlayEventArgs and CodecsOverlayEventHandler Use CodecsOverlayCallback instead.
CodecsTransformMarkerEventArgs and CodecsTransformMarkerEventHandler Use CodecsTransformMarkerCallback instead.
CodecsRedirectFastReadEventArgsFast read redirection not required anymore.
CodecsRedirectFastWriteEventArgsFast 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:

MemberDescription
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.InternalObjectInternal use property removed
RasterCodecs.CompressData Use CodecsCompressDataCallback instead
RasterCodecs.TransformMarker Use CodecsTransformMarkerCallback instead
RasterCodecs.ReadIccProfileMoved to the colorspace conversion assembly
RasterCodecs.RedirectFastReadFast read is not needed anymore
RasterCodecs.RedirectFastWriteFast write is not needed anymore
CodecsTxtLoadOptions.UseSystemLocaleUses UNICODE instead
CodecsImageInfo.InternalObjectInternal use property removed
byte[] CodecsEnumGeoKeysEventArgs.Data Use IntPtr CodecsEnumGeoKeysEventArgs.Data and CodecsEnumGeoKeysEventArgs.DataLength instead
CodecsOptions.InternalLoadOptionsInternal use property removed
CodecsOptions.InternalSaveOptionsInternal use property removed
CodecsLoadOptions.UnmanagedMemoryOption removed
CodecsImageInfo.InternalObjectInternal use property removed
CodecsRedirectOpenEventArgs.StreamThe internal stream is no longer accessible
CodecsRedirectReadEventArgs.StreamThe internal stream is no longer accessible
CodecsRedirectWriteEventArgs.StreamThe internal stream is no longer accessible
CodecsRedirectSeekEventArgs.StreamThe internal stream is no longer accessible
CodecsRedirectCloseEventArgs.StreamThe 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.5Version 15
CodecsTxtLoadOptions.StrikeThroughCodecsTxtLoadOptions.Strikethrough
CodecsJpegSaveOptions.SaveWithoutTimeStampCodecsJpegSaveOptions.SaveWithoutTimestamp
CodecsLoadByteOrder.BgrOrGrayorRommCodecsLoadByteOrder.BgrOrGrayOrRomm

Properties Changed into Methods

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

Version 14.5Version 15
RasterCodecs.CodecsCodecInformationRasterCodecs.GetCodecsInformation and RasterCodecs.SetCodecsInformation
CodecsGifSaveOptions.AnimationPaletteCodecsGifSaveOptions.GetAnimationPalette and CodecsGifSaveOptions.SetAnimationPalette
CodecsImageInfo.PaletteCodecsImageInfo.GetPalette
CodecsPsdLayerInfo.BlendModeKeyCodecsPsdLayerInfo.GetBlendModeKey and CodecsPsdLayerInfo.SetBlendModeKey
CodecsPngLoadOptions.TrnsChunkCodecsPngLoadOptions.GetTrnsChunk and CodecsPngLoadOptions.SetTrnsChunk
CodecsExtensionList.ExtensionsCodecsExtensionList.GetExtensions
CodecsJpeg2000SaveOptions.HorizontalSubSamplingValues CodecsJpeg2000SaveOptions.GetHorizontalSubSamplingValues and CodecsJpeg2000SaveOptions.SetHorizontalSubSamplingValues
CodecsJpeg2000SaveOptions.VerticalSubSamplingValuesCodecsJpeg2000SaveOptions.GetVerticalSubSamplingValues and CodecsJpeg2000SaveOptions.SetVerticalSubSamplingValues
CodecsLoadInformationEventArgs.PaletteCodecsLoadInformationEventArgs.GetPalette and CodecsLoadInformationEventArgs.SetPalette
CodecsLoadInformationEventArgs.ColorMaskCodecsLoadInformationEventArgs.GetColorMask and CodecsLoadInformationEventArgs.SetColorMask
CodecsGifImageInfo.AnimationPaletteCodecsGifImageInfo.GetAnimationPalette
CodecsSaveOptions.ResolutionsCodecsSaveOptions.GetResolutions and CodecsSaveOptions.SetResolutions

Methods Changed into Properties

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

Version 14.5Version 15
RasterCodecs.GetLoadStatusRasterCodecs.LoadStatus

Members Changed

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

MemberDescription
CodecsLoadImageEventArgs.Buffer Property type changed to IntPtr.
CodecsEnumGeoKeysEventArgs.Data Property type changed to IntPtr.
CodecsExtensionList.GetAudioDataMethod 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.5Version 15
Leadtools.Codecs.CodecsAbcOptions.CodecsAbcLoadOptionsLeadtools.Codecs.CodecsAbcLoadOptions
Leadtools.Codecs.CodecsAbcOptions.CodecsAbcSaveOptionsLeadtools.Codecs.CodecsAbcSaveOptions
Leadtools.Codecs.CodecsEcwOptions.CodecsEcwSaveOptionsLeadtools.Codecs.CodecsEcwSaveOptions
Leadtools.Codecs.CodecsEpsOptions.CodecsEpsLoadOptionsLeadtools.Codecs.CodecsEpsLoadOptions
Leadtools.Codecs.CodecsGifOptions.CodecsGifLoadOptionsLeadtools.Codecs.CodecsGifLoadOptions
Leadtools.Codecs.CodecsGifOptions.CodecsGifSaveOptionsLeadtools.Codecs.CodecsGifSaveOptions
Leadtools.Codecs.CodecsJbig2Options.CodecsJbig2SaveOptionsLeadtools.Codecs.CodecsJbig2SaveOptions
Leadtools.Codecs.CodecsJbigOptions.CodecsJbigLoadOptionsLeadtools.Codecs.CodecsJbigLoadOptions
Leadtools.Codecs.CodecsJpeg2000Options.CodecsJpeg2000LoadOptionsLeadtools.Codecs.CodecsJpeg2000LoadOptions
Leadtools.Codecs.CodecsJpeg2000Options.CodecsJpeg2000SaveOptionsLeadtools.Codecs.CodecsJpeg2000SaveOptions
Leadtools.Codecs.CodecsJpegOptions.CodecsJpegLoadOptionsLeadtools.Codecs.CodecsJpegLoadOptions
Leadtools.Codecs.CodecsJpegOptions.CodecsJpegSaveOptionsLeadtools.Codecs.CodecsJpegSaveOptions
Leadtools.Codecs.CodecsOptions.CodecsLoadOptionsLeadtools.Codecs.CodecsLoadOptions
Leadtools.Codecs.CodecsOptions.CodecsSaveOptionsLeadtools.Codecs.CodecsSaveOptions
Leadtools.Codecs.CodecsPcdOptions.CodecsPcdLoadOptionsLeadtools.Codecs.CodecsPcdLoadOptions
Leadtools.Codecs.CodecsPdfOptions.CodecsPdfLoadOptionsLeadtools.Codecs.CodecsPdfLoadOptions
Leadtools.Codecs.CodecsPdfOptions.CodecsPdfSaveOptionsLeadtools.Codecs.CodecsPdfSaveOptions
Leadtools.Codecs.CodecsPngOptions.CodecsPngLoadOptionsLeadtools.Codecs.CodecsPngLoadOptions
Leadtools.Codecs.CodecsPngOptions.CodecsPngSaveOptionsLeadtools.Codecs.CodecsPngSaveOptions
Leadtools.Codecs.CodecsPtokaOptions.CodecsPtokaLoadOptionsLeadtools.Codecs.CodecsPtokaLoadOptions
Leadtools.Codecs.CodecsRawOptions.CodecsRawSaveOptionsLeadtools.Codecs.CodecsRawSaveOptions
Leadtools.Codecs.CodecsRtfOptions.CodecsRtfLoadOptionsLeadtools.Codecs.CodecsRtfLoadOptions
Leadtools.Codecs.CodecsTiffOptions.CodecsTiffLoadOptionsLeadtools.Codecs.CodecsTiffLoadOptions
Leadtools.Codecs.CodecsTiffOptions.CodecsTiffSaveOptionsLeadtools.Codecs.CodecsTiffSaveOptions
Leadtools.Codecs.CodecsTxtOptions.CodecsTxtLoadOptionsLeadtools.Codecs.CodecsTxtLoadOptions
Leadtools.Codecs.CodecsWmfOptions.CodecsWmfLoadOptionsLeadtools.Codecs.CodecsWmfLoadOptions