Releases: embedded-graphics/tinybmp
Releases · embedded-graphics/tinybmp
v0.6.0
v0.5.0
v0.4.0
Added
- #28 Added a
ColorTable
struct and theRawBmp::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
andRawBmp::pixel
to access individual pixels.
Changed
- (breaking) #31 Use 1.61 as the MSRV.
- (breaking) #28 Merged
DynamicBmp
andBmp
.Bmp
will now automatically convert colors and doesn't require explicit color type annotations anymore. - (breaking) #28 Changed bounds for the
Bmp
color type fromC: PixelColor + From<<C as PixelColor>::Raw>
toC: PixelColor + From<Rgb555> + From<Rgb565> + From<Rgb888>
. - (breaking) #28 Added additional
ParseError
variants for improved reporting of errors. - (breaking) #28 Removed
RawBmp::size
andRawBmp::color_bpp
. UseRawBmp::header().image_size
andRawBmp::header().bpp
instead. - #28
Bpp::bits
,RawBmp::image_data
,RawBmp::header
, andRawPixel::new
are nowconst
. - #28 BMP files with incomplete image data are now detected by
Bmp::from_slice
.
Fixed
- #32 Report error for images with
width <= 0
orheight == 0
instead of causing a panic.
v0.3.3
v0.3.2
v0.3.1
v0.3.0
Release tinybmp 0.3.0
v0.3.0-beta.2
Changed
- (breaking) #9 Added support for BMP images saved in top-down row order. A computed field
row_order
is added to theHeader
struct to capture whether the image data is ordered top-down, or the standard bottom-up.