Skip to content

Releases: tayloraswift/swift-png

Swift PNG 4.0

16 Jan 04:06
Compare
Choose a tag to compare

Swift PNG
4.0.0

features

PNG 3.0.2

17 Jun 21:55
Compare
Choose a tag to compare

This release addresses @_specialize warnings produced by compiler PR #30962 which affects users using the nightly 5.2+ builds.

PNG 3.0.1

16 Jun 20:07
Compare
Choose a tag to compare

This release fixes some compiler warnings due to compiler drift from Swift 4.2 to 5.2+, and with the agreement of all contributors, re-licenses the library under a weaker copyleft license, the Mozilla Public License 2.0.

PNG 3.0.0

07 Jan 03:36
Compare
Choose a tag to compare

The library has been completely rewritten since version 2.0.1 and now features a much streamlined and improved API, as well as ancillary PNG chunk support, and a wider variety of color format inputs and outputs. Grayscale–alpha and indexed color now have first-class status in the 3.0 API, and are fully integrated with all PNG color backends in the file format’s specification. The typing system has also been greatly strengthened, resulting in an API which returns far fewer optionals, provides more expressive enumerations, and has a much greater chance of catching errors at compile time.

MaxPNG 2.0.1

21 May 21:36
Compare
Choose a tag to compare

This release adds a new overload to png_encode(path:raw_data:properties:chunk_size:) that takes a Swift UnsafeBufferPointer<UInt8> instead of an Array, to avoid having to recopy a foreign array into Swift managed memory.

MaxPNG 2

19 May 19:01
Compare
Choose a tag to compare

In addition to being faster and more memory-efficient, MaxPNG 2 brings new features:

  • Support for indexed-color and interlaced PNG files
  • Passes all PNG test suite test cases
  • Contiguous encoding and decoding functions, which are more efficient than the progressive variety
  • Support for chroma keys, which are split between the PLTE and tRNS chunks
  • RGBA normalization
  • Ability to generate premultiplied alpha
  • Ability to generate Cairo buffers from PNG files
  • Ability to decompose interlaced PNGs into their constituent subimages
  • Ability to encode indexed and interlaced PNG files
  • Increased safety and validation
  • Better-designed API and API naming
  • Full API documentation

MaxPNG 1

10 Feb 17:43
Compare
Choose a tag to compare
1.0.0

Update README.md