The following table outlines the major differences between the ImageKit.NET3 and the earlier version, ImageKit.NET2. Please refer to this table when using older ImageKit.NET2 code with the ImageKit.NET3
In most cases, older ImageKit.NET2 code will run without errors. However, there are property and method name changes or parameter changes that might cause errors.
Name | Explanation of Change |
---|---|
ImageKit.Effect | |
Changed Items | |
Methods: | |
Chroma | The name of this method has been changed to SetChroma *2 |
RedEyeRemoval | The name of this method has been changed to RemoveRedEye *2 |
Rotation | The name of this method has been changed to Rotate *2 |
Sharp | The name of this method has been changed to Sharpen *2 |
ImageKit.IkFile | |
Eliminated Items | |
Properties: | |
TiffAppend | The TiffAppend property has been eliminated. It is replaced with methods for processing multipage tiff images have been added. These methods include: AppendTiffImage, InsertPageIntoMultipageTiff, and DeletePageFromMultipageTiff. *1 |
Methods: | |
CloseMultiTiff | The CloseMultiTiff method has been eliminated. It is replaced with methods for processing multipage tiff images have been added. These methods include: AppendTiffImage, InsertPageIntoMultipageTiff, and DeletePageFromMultipageTiff. *1 |
Changed Items | |
Methods: | |
LoadImageFromFile | All LoadTypes are automatically detected so this method has no parameters. *3 |
LoadImageFromRawData | All LoadTypes are automatically detected so this method has no parameters. *3 |
*1: Function will not cause an error but will be ignored
*2: The older property or method is maintained for backward
compatibility. It will execute and not generate and error however
we recommend that you use the newer property or method.
*3: The old method remains to maintain backwards compatibility but
regardless of the parameter used, the LoadType will automatically
be detected. Use the newer form of the method going forward.