Skip to content

Releases: koher/swift-image

Refactored APIs

Refactored APIs Pre-release
Pre-release

Choose a tag to compare

@koher koher released this 20 Dec 08:59
  • resizedTo(width:height:interpolatedBy:) without CoreGraphics
  • rotated(by:), rotated(byDegrees:) and rotated(by:interpolatedBy:), rotated(byDegrees:interpolatedBy:)
  • Renamed write(to:formatting:) to write(to:format:) following write(to:options:) of Data
  • Renamed ExtrapolationMethod cases
    • .edging to .edge
    • .repeating to .repeat
    • .mirroring to .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

Pre-release

Choose a tag to compare

@koher koher released this 14 Dec 16:32
  • rotated(by: angle, ...)
  • subscript(xRange, yRange, extrapolatedBy: extrapolationMethod)
  • write(to:...)
  • data(using:)
  • AnyImage<Pixel>

`ImageProtocol` makes `ImageSlice` more powerful

Choose a tag to compare

@koher koher released this 13 Dec 01:46

Now ImageSlice has a lot of APIs which Image has had: interpolation, extrapolation, convolution, operators and so on.

Better APIs for convolution and operators

Choose a tag to compare

@koher koher released this 01 Dec 13:27
0.4.0-alpha.3

Minor changes for README

Interpolation and Extrapolation

Pre-release

Choose a tag to compare

@koher koher released this 30 Nov 02:06
0.4.0-alpha.2

Update README

Experimental APIs for Generic `RGBA`

Pre-release

Choose a tag to compare

@koher koher released this 25 Nov 18:53
0.4.0-alpha

Update README

0.3.0

Choose a tag to compare

@koher koher released this 25 Nov 18:52
Merge pull request #20 from koher/spm

Support Swift Package Manager

Swift 4 and SwiftPM

Swift 4 and SwiftPM Pre-release
Pre-release

Choose a tag to compare

@koher koher released this 05 Oct 04:16
Merge pull request #20 from koher/spm

Support Swift Package Manager

0.3.0-alpha.5

0.3.0-alpha.5 Pre-release
Pre-release

Choose a tag to compare

@koher koher released this 21 Sep 09:27
Merge branch 'master' into spm

Fix `cgImage` of `Image<RGBA>`

Pre-release

Choose a tag to compare

@koher koher released this 04 Aug 01:54

Also update precondition policies to be consistent with Array and ArraySlice in the Swift Standard Libbrary.