Releases: koher/swift-image
Releases · koher/swift-image
Release list
Refactored APIs
resizedTo(width:height:interpolatedBy:)without CoreGraphicsrotated(by:),rotated(byDegrees:)androtated(by:interpolatedBy:),rotated(byDegrees:interpolatedBy:)- Renamed
write(to:formatting:)towrite(to:format:)followingwrite(to:options:)ofData - Renamed
ExtrapolationMethodcases.edgingto.edge.repeatingto.repeat.mirroringto.reflection
Note: Some more renaming are still under consideration, e.g. ExtrapolationMethod to PaddingMethod and subscript(_:_:interpolatedBy:extrapolatedBy:) to subscript(_:_:interpolation:padding:).
Some additional convenient APIs
rotated(by: angle, ...)subscript(xRange, yRange, extrapolatedBy: extrapolationMethod)write(to:...)data(using:)AnyImage<Pixel>
`ImageProtocol` makes `ImageSlice` more powerful
Now ImageSlice has a lot of APIs which Image has had: interpolation, extrapolation, convolution, operators and so on.
Better APIs for convolution and operators
0.4.0-alpha.3 Minor changes for README
Interpolation and Extrapolation
0.4.0-alpha.2 Update README
Experimental APIs for Generic `RGBA`
0.4.0-alpha Update README
0.3.0
Swift 4 and SwiftPM
Merge pull request #20 from koher/spm Support Swift Package Manager
0.3.0-alpha.5
Merge branch 'master' into spm
Fix `cgImage` of `Image<RGBA>`
Also update precondition policies to be consistent with Array and ArraySlice in the Swift Standard Libbrary.