Releases: koher/swift-image
Releases · koher/swift-image
Release list
Swift 4.1 and 4.2 with Conditional Conformance
- Swift 4.1 and 4.2
- Conditional Conformance
PremultipliedRGBAwithCGContextImageProtocol.SubImageImageIteratorImageSlicewith CoreGraphicscgImagewithCGImage(_:)withCGContext(coordinates:_:)
- Renamed
ExtrapolationMethod.fillingtoExtrapolationMethod.constant - Renamed
interpolatedByandextrapolatedByused as subscripts' labels tointerpolationandextrapolationrespectively- It is more consistent with the standard library, e.g.
subscript[_:default:]
- It is more consistent with the standard library, e.g.
Available for Swift 4.2 / Xcode 10
0.5.0-beta.2 Make it available for Swift 4.2
Swift 4.1 and Conditional Conformance
`ImageProtocol.SubImage` and `ImageSlice` with `CoreGraphics`
ImageProtocol.SubImageImageSlice.cgImageImageSlice.withCGImage(_:)ImageSlice.withCGContext(coordinates:_:)
`withCGContext(coordinates:_:)`
Add coordinates to withCGContext. It is useful to combine EasyImagy with libraries which assume original coordinates, e.g. Vision.framework.
Swift 4.1 and `PremultipliedRGBA`
- Swift 4.1
- Conditional Conformance
PremultipliedRGBAwithCGContext
Generic `RGBA` and refactored APIs
- Swift 4.0
- Generic
RGBA ImageProtocol- Refactored APIs
- Pointer APIs
More details: #21
Performance improvement of `update`
0.4.0-alpha.9 Improve the performance of the `update` method
Pointer APIs
0.4.0-alpha.8 Implement `Image.withCGImage(_:)`
Remove `Float80`
Float80 is available only on macOS.
Code using Float80 had passed tests also on iOS, tvOS and watchOS because Float80 were available on those OSs on simulators.