plotters
plotters copied to clipboard
Update gif requirement from 0.12.0 to 0.13.1
Updates the requirements on gif to permit the latest version.
Changelog
Sourced from gif's changelog.
v0.13.1
Bugfixes:
- Fixed writing palettes with non-power-of-two sizes
v0.13.0
Features:
- Added
Iteratorinterface for theDecoder- Added reading number of loop repetitions
Decoder::repeat.- Added
skip_frame_decodingoption to readFrame.bufferas LZW data. It works together withwrite_lzw_pre_encoded_framefor quick rewriting of GIF files.- Added support pre-allocated
Vecs infrom_palette_pixels- Added ability to recover the
io::Reader after decoding.- Added support for decompressing
Frame.bufferwith LZW data, which enables fully parallel GIF re-encoding (see examples/parallel.rs),Optimization:
- Less buffering, copying, and lower peak memory usage.
Other changes:
- Removed
unsafe {}code.- Enforced memory limit also on metadata extension blocks, and added out-of-memory checks where possible.
EncodingFormatErrorenum is public.- Removed defunct
skip_extensions- Added validation of frame dimensions. The buffer must be large enough for all pixels, and if the width or height is 0, the buffer must be empty.
v0.12.0
Features:
- Add compression of pre-compressed frame data, via
Encoder::write_lzw_pre_encoded_frame.- The
color_quantdependency is now optional. Turning it off disables some interfaces that would internally build quantization tables. The generic implementation of creating such tables can be prohibitively costly compared to specialized algorithms in some use cases.Optimization:
- Avoid some allocations in by replacing
flat_mapargument with arraysv0.11.4
Bufixes:
- Fix decoding confusing superfluous image data from previous frames with current frame data.
- Bump minimum required version of
weezl.Features:
- Add
Encoder::{get_ref, get_mut, into_inner}to access underlying stream.
... (truncated)
Commits
70a1d31Bump3bf238dFix writing palettes with non-power-of-two sizes965be5bUnused when color_quant is off9f740e0Release 0.13.0 (#186)4645e55Future-proof ExtensionData4262f07Test comment parsing0d71f7fStop iterator on errorb4d2fd3Test truncated filesa0700f4Fix skipping of extra LZW data27ea2f4Compute min code size- Additional commits viewable in compare view
You can trigger a rebase of this PR 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 show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@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)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.