Skip to content

Replace `@_specialize` with `@inlinable`

Choose a tag to compare

@koher koher released this 28 Mar 01:20
91b83c8
  • Swift 4.2 / 5.0
  • Replaced @_specialize with @inlinable
    • It accomplished removing massive lines of @_specialized.
  • pngData() and jpegData(compressionQuality:) similar to UIImage's
    • func data(using format: Image.Format) -> Data? was renamed to pngData() and jpegData(compressionQuality:).
  • Removed CountableRange and CountableClosedRange
    • They were removed in Swift 4.2.
  • Renamed _Numeric to _NumericPixel and refactor _NumericPixel
  • Removed APIs for images with channels of UInt32 and UInt64
  • Removed RGBA<UInt8>.init and RGBA<UInt16>.init for channels of Int