image-rs/image (image)
### [`v0.25.1`](https://togithub.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0251)
[Compare Source](https://togithub.com/image-rs/image/compare/v0.25.0...v0.25.1)
Bug fixes:
- Fixed corrupt JPEG output when attempting to encode images containing an alpha
channel.
- Only accept ".ff" file extension for farbfeld images.
- Correct farbfeld feature flag for `ImageFormat::{reading_enabled, writing_enabled}`.
- Disable strict mode for JPEG decoder.
- Add nasm feature to optionally enable faster AVIF encoding.
### [`v0.25.0`](https://togithub.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0250)
[Compare Source](https://togithub.com/image-rs/image/compare/v0.24.9...v0.25.0)
Breaking changes:
- Added `BufRead` + `Seek` bound on many decoders.
- Use `ExtendedColorType` instead of `ColorType` when encoding.
- Removed `ImageOutputFormat`, `GenericImageView::bounds`, and several other
deprecated items.
- Removed incremental decoding support and changed `ImageDecoder` so the trait
is object safe.
- Pixel types are now `repr(transparent)` rather than `repr(C)`.
- Made color_quant dependency optional.
- Renamed some feature flags.
Structural changes:
- Increased MSRV to 1.67.1
Codec changes:
- Switched to image-webp for WebP encoding.
- Switched to zune-jpeg for JPEG decoding.
- Made the HDR decoder produce f32 images.
- Removed DXT encoding and decoding support.
### [`v0.24.9`](https://togithub.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0249)
[Compare Source](https://togithub.com/image-rs/image/compare/v0.24.8...v0.24.9)
Structural changes:
- Relicense to MIT OR Apache-2.0
- Increase MSRV 1.63.0
New features:
- Support limits in PNG animation decoding.
- Added offsets to SubImage to compensate for the now-deprecated bounds call
from GenericImageView.
Bug fixes:
- Correct limit tests for TIFF.
- Avoid overflow in gif::Decoder::buffer_size.
- Return error instead of using asssertion for Avif decoder unsupported or
invalid bit depth.
### [`v0.24.8`](https://togithub.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0248)
[Compare Source](https://togithub.com/image-rs/image/compare/v0.24.7...v0.24.8)
New features:
- Added pure-Rust lossless WebP encoding.
- Added `DynamicImage::new` method.
- Added `PngDecoder::gamma_value` method.
- Added `ImageFormat::{reading_enabled, writing_enabled, all}`.
- TGA encoder now supports RLE encoding.
- Add rayon parallel iterators behind an optional `rayon` feature.
- Support CMYK TIFF images.
- Implement `From` for all image types.
Bug fixes:
- Fix decoding pngs with invalid text chunks.
- Handle non-fatal error dav1d::Error::Again.
- Do not round floats in interpolate.
- PNM decoder now scales samples according to specified maximum.
- Fix wrong implementation of unsharpen filter.
- Fix `GifDecoder::with_limits` to raise an error when limits are exceeded.
### [`v0.24.7`](https://togithub.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0247)
[Compare Source](https://togithub.com/image-rs/image/compare/v0.24.6...v0.24.7)
New features:
- Added `{ImageBuffer, DynamicImage}::write_with_encoder` to simplify writing
images with custom settings.
- Expose ICC profiles stored in tiff and webp files.
- Added option to set the background color of animated webp images.
- New methods for sampling and interpolation of `GenericImageView`s
Bug fixes:
- Fix panic on empty dxt.
- Fix several panics in webp decoder.
- Allow unknown chunks at the end of webp files.
### [`v0.24.6`](https://togithub.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0246)
[Compare Source](https://togithub.com/image-rs/image/compare/v0.24.5...v0.24.6)
- Add support for QOI.
- ImageDecoders now expose ICC profiles on supported formats.
- Add support for BMPs without a file header.
- Improved AVIF encoder.
- WebP decoding fixes.
### [`v0.24.5`](https://togithub.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0245)
[Compare Source](https://togithub.com/image-rs/image/compare/v0.24.4...v0.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.
### [`v0.24.4`](https://togithub.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0244)
[Compare Source](https://togithub.com/image-rs/image/compare/v0.24.3...v0.24.4)
New Features:
- Encoding for `webp` is now available with the native library. This needs to
be activate explicitly with the `web-encoder` feature.
- `exr` decoding has gained basic limit support.
Bug fixes:
- The `Iterator::size_hint` implementation of pixel iterators has been fixed to
return the current length indicated by its `ExactSizeIterator` hint.
- Typos and bad references in the documentation have been removed.
Performance:
- `ImageBuffer::get_pixel{,_mut}` is now marked inline.
- `resize` now short-circuits when image dimensions are unchanged.
### [`v0.24.3`](https://togithub.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0243)
[Compare Source](https://togithub.com/image-rs/image/compare/v0.24.2...v0.24.3)
New Features:
- `TiffDecoder` now supports setting resource limits.
Bug fixes:
- Fix compile issues on little endian systems.
- Various panics discovered by fuzzing.
### [`v0.24.2`](https://togithub.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0242)
Structural changes:
- CI now runs `cargo-deny`, checking dependent crates to an OSS license list
and against RUSTSEC advisories.
New Features:
- The WebP decoder recognizes and decodes images with `VP8X` header.
- The DDS decoder recognizes and decodes images with `DX10` headers.
Bug fixes:
- Calling `DynamicImage`/`ImageBuffer`'s methods `write_to` and `save` will now
work properly even if the backing container is larger than the image layout
requires. Only the relevant slice of pixel data is passed to the encoder.
- Fixed a OOM-panic caused by malformed images in the `gif` decoder.
### [`v0.24.1`](https://togithub.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0241)
Bug Fixes:
- ImageBuffer::get_pixel_checked would sometimes return the incorrect pixel.
- PNG encoding would sometimes not recognize unsupported color.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[x] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.24
->0.25
Release Notes
image-rs/image (image)
### [`v0.25.1`](https://togithub.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0251) [Compare Source](https://togithub.com/image-rs/image/compare/v0.25.0...v0.25.1) Bug fixes: - Fixed corrupt JPEG output when attempting to encode images containing an alpha channel. - Only accept ".ff" file extension for farbfeld images. - Correct farbfeld feature flag for `ImageFormat::{reading_enabled, writing_enabled}`. - Disable strict mode for JPEG decoder. - Add nasm feature to optionally enable faster AVIF encoding. ### [`v0.25.0`](https://togithub.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0250) [Compare Source](https://togithub.com/image-rs/image/compare/v0.24.9...v0.25.0) Breaking changes: - Added `BufRead` + `Seek` bound on many decoders. - Use `ExtendedColorType` instead of `ColorType` when encoding. - Removed `ImageOutputFormat`, `GenericImageView::bounds`, and several other deprecated items. - Removed incremental decoding support and changed `ImageDecoder` so the trait is object safe. - Pixel types are now `repr(transparent)` rather than `repr(C)`. - Made color_quant dependency optional. - Renamed some feature flags. Structural changes: - Increased MSRV to 1.67.1 Codec changes: - Switched to image-webp for WebP encoding. - Switched to zune-jpeg for JPEG decoding. - Made the HDR decoder produce f32 images. - Removed DXT encoding and decoding support. ### [`v0.24.9`](https://togithub.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0249) [Compare Source](https://togithub.com/image-rs/image/compare/v0.24.8...v0.24.9) Structural changes: - Relicense to MIT OR Apache-2.0 - Increase MSRV 1.63.0 New features: - Support limits in PNG animation decoding. - Added offsets to SubImage to compensate for the now-deprecated bounds call from GenericImageView. Bug fixes: - Correct limit tests for TIFF. - Avoid overflow in gif::Decoder::buffer_size. - Return error instead of using asssertion for Avif decoder unsupported or invalid bit depth. ### [`v0.24.8`](https://togithub.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0248) [Compare Source](https://togithub.com/image-rs/image/compare/v0.24.7...v0.24.8) New features: - Added pure-Rust lossless WebP encoding. - Added `DynamicImage::new` method. - Added `PngDecoder::gamma_value` method. - Added `ImageFormat::{reading_enabled, writing_enabled, all}`. - TGA encoder now supports RLE encoding. - Add rayon parallel iterators behind an optional `rayon` feature. - Support CMYK TIFF images. - Implement `FromConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.