Skip to content

Releases: embedded-graphics/tinybmp

v0.6.0

11 Jun 00:56
Compare
Choose a tag to compare

Added

  • #41 Added support for RLE8 and RLE4 encoded bitmaps

Changed

  • (breaking) #41 Use 1.71 as the MSRV.

v0.5.0

17 May 09:01
Compare
Choose a tag to compare

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

30 Sep 18:14
Compare
Choose a tag to compare

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

18 Apr 19:42
Compare
Choose a tag to compare

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

16 Apr 17:39
Compare
Choose a tag to compare

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.

v0.3.1

16 Jun 16:07
Compare
Choose a tag to compare

Changed

  • #13 Bump embedded-graphics minimum version from 0.7.0 to 0.7.1

v0.3.0

06 Jun 10:46
Compare
Choose a tag to compare
Release tinybmp 0.3.0

v0.3.0-beta.2

15 Jun 17:01
Compare
Choose a tag to compare
v0.3.0-beta.2 Pre-release
Pre-release

Changed

  • (breaking) #9 Added support for BMP images saved in top-down row order. A computed field row_order is added to the Header struct to capture whether the image data is ordered top-down, or the standard bottom-up.