New Types
The following types have been added to LEADTOOLS For .NET v15:
Type | Description |
---|---|
CodecsCompressDataCallback | Provides a callback method that gets called when compressed data is available. |
CodecsOverlayCallback | Provides 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. |
CodecsSidOptions | Provides extra options for loading and saving SID images. |
CodecsSidLoadOptions | Gets the options for loading SID images. |
CodecsFpxOptions | Provides extra options for loading and saving FPX images. |
CodecsFpxLoadOptions | Gets the options for loading FPX images. |
CodecsOverlayData | Contains 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:
Member | Description |
---|---|
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.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 RasterCodecs object. |
CodecsEnumGeoKeysEventArgs.DataLength | Gets the number of bytes in Data. |
CodecsOptions.Clone | Creates an exact copy of the current page of this CodecsOptions. |
CodecsOptions.Fpx | Gets the FPX load and save options. |
CodecsOptions.Sid | 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. |
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.5 | Version 15 |
---|---|
CodecsEnumGeoKeysEventHandler | |
CodecsEnumTagsEventHandler | |
CodecsLoadImageEventHandler | |
CodecsLoadInformationEventHandler | |
CodecsPageEventHandler | |
CodecsRedirectCloseEventHandler | |
CodecsRedirectOpenEventHandler | |
CodecsRedirectReadEventHandler | |
CodecsRedirectSeekEventHandler | |
CodecsRedirectWriteEventHandler | |
CodecsSaveImageEventHandler | |
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 CodecsCompressDataCallback instead. |
CodecsOverlayEventArgs and CodecsOverlayEventHandler | Use CodecsOverlayCallback instead. |
CodecsTransformMarkerEventArgs and CodecsTransformMarkerEventHandler | Use 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 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 IntPtr CodecsEnumGeoKeysEventArgs.Data and CodecsEnumGeoKeysEventArgs.DataLength instead |
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:
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 |
CodecsEnumGeoKeysEventArgs.Data | Property type changed to |
CodecsExtensionList.GetAudioData | Method return type changed to RasterNativeBuffer. |
CodecsExtension.Data | Property type changed to |
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 |