Article Details
Id:20038
Product:finPOWER Connect
Type:NEW
Version:4.00.02
Opened:06/03/2023
Closed:16/03/2023
Released:27/06/2023
Job: J030588
Breaking Change

ISImageEditor class; moved from ISSupport to ISRuntime assembly

The ISImageEditor class has been moved from the ISSupport to ISRuntime assembly.

This means it is available to more assemblies within the Business Layer.

NOTE: This change is marked as a Breaking change as if the class name and iseImageOrientation Enum is fully qualified with ISSupport script code would fail.

The following changes have also been made:

  • SaveImage function
    • Supported Image formats include the file extensions bmp, gif, jpg, jpeg, png, tif, tiff. All other file extensions are saved as png image format.
      • Previously the file may have been saved as a PNG file regardless of the file extension.
  • SaveToByteArray(ByRef data As Byte()) As Boolean function
    • Comment noted "Save the Image to a Byte Array as a JPEG Image" but in fact the image was always saved as a PNG Image.
      • Comment updated to "Save the Image to a Byte Array as a PNG Image".
    • Note, use the overloaded function to specify the Image format.