Skip to content

Commit

Permalink
Changes and release notes for 0.24.5
Browse files Browse the repository at this point in the history
Also increase the version requirement for `tiff` to 0.8.0
  • Loading branch information
micahsnyder committed Nov 11, 2022
1 parent bf0a96b commit fe52169
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
27 changes: 26 additions & 1 deletion CHANGES.md
Expand Up @@ -11,7 +11,6 @@ Rust image aims to be a pure-Rust implementation of various popular image format

### Unreleased

- The `as_rgb32f` function of `DynamicImage` is now correctly documented
- More convenient to use buffers will be added in the future. In particular,
improving initialization, passing of output buffers, and adding a more
complete representation for layouts. The plan is for these to interact with
Expand All @@ -20,6 +19,32 @@ Rust image aims to be a pure-Rust implementation of various popular image format
See ongoing work on [`image-canvas`](https://github.com/image-rs/canvas) if
you want to participate.

### Version 0.24.5

Structural changes:
- Increased the minimum supported Rust version (MSRV) to 1.61.
- Increased the version requirement for the `tiff` crate to 0.8.0.
- Increased the version requirement for the `jpeg` crate to 0.3.0.

Bug fixes:
- The `as_rgb32f` function of `DynamicImage` is now correctly documented.
- Fixed a crash when decoding ICO images. Added a regression test.
- Fixed a panic when transforming webp images. Added a regression test.
- Added a check to prevent integer overflow when calculating file size for BMP
images. The missing check could panic in debug mode or else set an incorrect
file size in release mode.
- Upgraded the PNG image encoder to use the newer `PngEncoder::write_image`
instead of the deprecated `PngEncoder::encode` which did not account for byte
order and could result in images with incorrect colors.
- Fixed `InsufficientMemory` error when trying to decode a PNG image.
- Fix warnings and CI issues.
- Typos and links in the documentation have been corrected.

Performance:
- Added check for dynamic image dimensions before resizing. This improves
performance in cases where the image does not need to be resized or has
already been resized.

### Version 0.24.4

New Features:
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "image"
version = "0.24.4"
version = "0.24.5"
edition = "2018"
resolver = "2"

Expand Down Expand Up @@ -38,7 +38,7 @@ gif = { version = "0.11.1", optional = true }
jpeg = { package = "jpeg-decoder", version = "0.2.1", default-features = false, optional = true }
png = { version = "0.17.6", optional = true }
scoped_threadpool = { version = "0.1", optional = true }
tiff = { version = "0.7.1", optional = true }
tiff = { version = "0.8.0", optional = true }
ravif = { version = "0.8.0", optional = true }
rgb = { version = "0.8.25", optional = true }
mp4parse = { version = "0.12.0", optional = true }
Expand Down

0 comments on commit fe52169

Please sign in to comment.