line_drawing
line_drawing copied to clipboard
Update image requirement from 0.23.14 to 0.24.6
Updates the requirements on image to permit the latest version.
Changelog
Sourced from image's changelog.
Version 0.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.
Version 0.24.5
Structural changes:
- Increased the minimum supported Rust version (MSRV) to 1.61.
- Increased the version requirement for the
tiffcrate to 0.8.0.- Increased the version requirement for the
jpegcrate to 0.3.0.Bug fixes:
- The
as_rgb32ffunction ofDynamicImageis 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_imageinstead of the deprecatedPngEncoder::encodewhich did not account for byte order and could result in images with incorrect colors.- Fixed
InsufficientMemoryerror 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:
- Encoding for
webpis now available with the native library. This needs to be activate explicitly with theweb-encoderfeature.exrdecoding has gained basic limit support.Bug fixes:
- The
Iterator::size_hintimplementation of pixel iterators has been fixed to return the current length indicated by itsExactSizeIteratorhint.- Typos and bad references in the documentation have been removed.
Performance:
ImageBuffer::get_pixel{,_mut}is now marked inline.resizenow short-circuits when image dimensions are unchanged.
... (truncated)
Commits
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)