(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.
#28Bpp::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.
(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.
#28Bpp::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.
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)
Bumps tinybmp from 0.3.1 to 0.5.0.
Release notes
Sourced from tinybmp's releases.
Changelog
Sourced from tinybmp's changelog.
Commits
ea2d38a
(cargo-release) version 0.5.0a12abec
Remove unsupported release.toml setting (#40)503c2b5
Update to e-g 0.8 (#39)8b4c2ce
(cargo-release) version 0.4.09551356
Fix warning in release config1329673
Add pixel getter examples (#37)c64e35a
Check for integer overflows in RawBmp::parse (#32)58c8e3f
Add pixel getter (#34)dbce097
Dynamicbmp tweaks (#31)1d3172c
Remove DynamicBmp and improve handling of color types (#28)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)