Releases: embedded-graphics/tinytga
Releases · embedded-graphics/tinytga
v0.5.0
Added
- #16 Added support for bottom right and top right image origins.
Changed
- (breaking) #16 Use 1.61 as MSRV.
- (breaking) #16 Replaced
ImageTypeenum withDataTypeandCompression. - (breaking) #16 Color types used with
Tgaare now required to implementFrom<Gray8> + From<Rgb555> + From<Rgb888>. - #16 Improved drawing performance for bottom left origin images by using
fill_contiguous. - #16 Use correct lifetimes for
RawTga::image_id,RawTga::developer_dictionaryandRawTga::extension_area. - (breaking) #18 Updated
embedded-graphicsto0.8.
v0.4.1
v0.4.0
Release tinytga 0.4.0
v0.4.0-alpha.1
Changed
- (breaking) #3
tinytganow depends onembedded-graphics-coreinstead ofembedded-graphics.
[0.4.0-alpha.1 - embedded-graphics repository] - 2020-12-27
Note: PR numbers from this point onwards are from the old
embedded-graphics/embedded-graphicsrepository. New PR numbers above this note refer to PRs in theembedded-graphics/tinytgarepository.
Changed
- (breaking) #407 The
image_descriptorinTgaHeaderwas replaced byimage_originandalpha_channel_bits. - (breaking) #420 To support the new embedded-graphics 0.7 image API a color type parameter was added to
Tga. - (breaking) #430 The
graphicsfeature was removed and theembedded-graphicsdependency is now non optional. - (breaking) #430
Tgano longer implementsIntoIterator. Pixel iterators can now be created using thepixelsandraw_pixelsmethods. - (breaking) #430
Tga::from_slicenow checks that the specified color type matches the bit depth of the image. - (breaking) #450 The
TgaFooterstruct was replaced by thedeveloper_dictionaryandextension_areamethods inRawTga. - (breaking) #430
Tga::widthandTga::heightwere replaced byTga::sizewhich requiresembedded_graphics::geometry::OriginDimensionsto be in scope (also included in the embedded-graphicsprelude). - (breaking) #430 The color map can now be accessed using the new
ColorMaptype. - (breaking) #450
Tgano longer provides direct access to low level information like the TGA header, insteadTga::as_rawcan be used to access the underlyingRawTgainstance.
Added
- #407 Added support for bottom-left origin images to
TgaIterator. - #430 The image ID can now be accessed using
Tga::image_id. - #450 Added
RawTgato usetinytgawithout using a embedded-graphic color type. - #450 Added
Tga::from_rawto convert aRawTgainto aTgaobject. - #450 Added
DynamicTgato allow drawing of TGA images without a known color format at compile time.
Fixed
- #407 Additional data in
pixel_data, beyondwidth * heightpixels, is now discarded byTgaIterator. - #430 Images with unsupported BPP values in the header no longer cause panics. Instead an error is returned by
Tga::from_slice. - #430 Errors during the execution of a pixel iterator no longer cause panics. Instead the corrupted portion of the image is filled with black pixels.