plotters-rs / plotters

A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely šŸ¦€ šŸ“ˆšŸš€
https://plotters-rs.github.io/home/
MIT License
3.82k stars 277 forks source link

Update gif requirement from 0.12.0 to 0.13.1 #587

Open dependabot[bot] opened 4 months ago

dependabot[bot] commented 4 months ago

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 Iterator interface for the Decoder
  • Added reading number of loop repetitions Decoder::repeat.
  • Added skip_frame_decoding option to read Frame.buffer as LZW data. It works together with write_lzw_pre_encoded_frame for quick rewriting of GIF files.
  • Added support pre-allocated Vecs in from_palette_pixels
  • Added ability to recover the io::Reader after decoding.
  • Added support for decompressing Frame.buffer with 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.
  • EncodingFormatError enum 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_quant dependency 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_map argument with arrays

v0.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


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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will 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.