ImageError

public enum ImageError : Swift.Error

Represents errors that can be thrown by image processing operations.

  • invalidFormat: Image raster format mismatch on import/export
  • invalidImage: Contains the reason this error was thrown.
  • invalidColor: Contains the reason this error was thrown.
  • invalidMaxColors: Asserts sane values for creating indexed Images