All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Update to libspng
0.7.4
RawContext::get_gama_int
RawContext::decode_chunks
RawContext::set_option
RawContext::get_option
- Updated the
Decoder
read_info
andnext_frame
API to match recent changes in the PNG crate (v0.17.0
).
0.2.0-alpha.2 - 2021-08-28
UnknownChunk::_type()
now returns aResult
instead ofOption
to be consistent with similar methods
- Removed documentation safety notes that no longer apply due to lifetime constraints
- The FFI error codes
SPNG_EWIDTH
,SPNG_EHEIGHT
, andSPNG_EUSER_WIDTH
are now converted correctly.
0.2.0-alpha.1 - 2021-06-23
- Update to libspng
0.7.0-rc2
Limits
,Info
, andOutputInfo
now implmentDebug
,Copy
,Clone
,PartialEq
,Eq
,Hash
RawContext::get_hist
RawContext::get_unknown_chunks
- The libspng
major
,minor
, andpatch
version can be queried withspng::version()
0.1.0 - 2021-03-14
- Rename
Format::{GA8, GA16}
toFormat::{Ga8, Ga16}
to be consistent with otherFormat
enum values - Rename
raw::IfPresent
toraw::ChunkAvailable
- Create type aliases for non-wrapped chunks and move all to
raw::chunk
- Added
Reader<T>::raw_context()
to enable access to&RawContext
.
0.1.0-alpha.6 - 2021-03-14
- Update libspng to 264476a
- Now zlib is linked to statically
- Added
zlib-ng
crate feature to opt-in tozlib-ng
, a fork of zlib with better performance
- Now the
DEP_SPNG_INCLUDE
environment variable is correctly set to the include directory that contains libspng headers
0.1.0-alpha.5 - 2020-06-14
- Update libspng to 71a71a6
- Grayscale output formats
0.1.0-alpha.4 - 2020-05-29
- Expose the
RawContext
API - Add
spng::decode
for simple use cases
- Update libspng to f47ed26
- Detect CPU target features and enable corresponding options in libspng
0.1.0-alpha.3 - 2020-03-13
0.1.0-alpha+2 - 2020-03-13
- Buffered stream decoding now reads from the source buffer until the destination buffer is full.