peterstuart / cherry

MIT License
0 stars 0 forks source link

Bump tinybmp from 0.3.1 to 0.5.0 #30

Open dependabot[bot] opened 1 year ago

dependabot[bot] commented 1 year ago

Bumps tinybmp from 0.3.1 to 0.5.0.

Release notes

Sourced from tinybmp's releases.

v0.5.0

Changed

  • (breaking) #39 Updated embedded-graphics dependency to 0.8.
  • (breaking) #39 Replaced Bmp::pixel method with embedded_graphics::image::GetPixel impl.

v0.4.0

Added

  • #28 Added a ColorTable struct and the RawBmp::color_table getter to access the BMP files color table.
  • #28 Added support for 4bpp images with color table.
  • #28 Added display example to display BMP images using the embedded-graphics simulator.
  • #34 Added Bmp::pixel and RawBmp::pixel to access individual pixels.

Changed

  • (breaking) #31 Use 1.61 as the MSRV.
  • (breaking) #28 Merged DynamicBmp and Bmp. Bmp will now automatically convert colors and doesn't require explicit color type annotations anymore.
  • (breaking) #28 Changed bounds for the Bmp color type from C: PixelColor + From<<C as PixelColor>::Raw> to C: PixelColor + From<Rgb555> + From<Rgb565> + From<Rgb888>.
  • (breaking) #28 Added additional ParseError variants for improved reporting of errors.
  • (breaking) #28 Removed RawBmp::size and RawBmp::color_bpp. Use RawBmp::header().image_size and RawBmp::header().bpp instead.
  • #28 Bpp::bits, RawBmp::image_data, RawBmp::header, and RawPixel::new are now const.
  • #28 BMP files with incomplete image data are now detected by Bmp::from_slice.

Fixed

  • #32 Report error for images with width <= 0 or height == 0 instead of causing a panic.

v0.3.3

Fixed

  • #25 Fixed a bug in the new color table support added in v0.3.2 where the color table length was incorrectly calculated.

v0.3.2

Added

  • #19 Added support for color mapped 1bpp and 8bpp images. This change now also requires 1bpp and 8bpp images to contain a color table.
Changelog

Sourced from tinybmp's changelog.

[0.5.0] - 2023-05-17

Changed

  • (breaking) #39 Updated embedded-graphics dependency to 0.8.
  • (breaking) #39 Replaced Bmp::pixel method with embedded_graphics::image::GetPixel impl.

[0.4.0] - 2022-09-30

Added

  • #28 Added a ColorTable struct and the RawBmp::color_table getter to access the BMP files color table.
  • #28 Added support for 4bpp images with color table.
  • #28 Added display example to display BMP images using the embedded-graphics simulator.
  • #34 Added Bmp::pixel and RawBmp::pixel to access individual pixels.

Changed

  • (breaking) #31 Use 1.61 as the MSRV.
  • (breaking) #28 Merged DynamicBmp and Bmp. Bmp will now automatically convert colors and doesn't require explicit color type annotations anymore.
  • (breaking) #28 Changed bounds for the Bmp color type from C: PixelColor + From<<C as PixelColor>::Raw> to C: PixelColor + From<Rgb555> + From<Rgb565> + From<Rgb888>.
  • (breaking) #28 Added additional ParseError variants for improved reporting of errors.
  • (breaking) #28 Removed RawBmp::size and RawBmp::color_bpp. Use RawBmp::header().image_size and RawBmp::header().bpp instead.
  • #28 Bpp::bits, RawBmp::image_data, RawBmp::header, and RawPixel::new are now const.
  • #28 BMP files with incomplete image data are now detected by Bmp::from_slice.

Fixed

  • #32 Report error for images with width <= 0 or height == 0 instead of causing a panic.

[0.3.3] - 2022-04-18

Fixed

  • #25 Fixed a bug in the new color table support added in v0.3.2 where the color table length was incorrectly calculated.

[0.3.2] - 2022-04-16

Added

  • #19 Added support for color mapped 1bpp and 8bpp images. This change now also requires 1bpp and 8bpp images to contain a color table.
Commits


Dependabot compatibility score

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 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 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)