mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 22:34:43 +00:00
The raster path tells formats with craft-image-codecs' detect, reads the size from the header (vectorcraft-doc's header_size, the renderer's decoded_layout, a Targa's own header) and decodes with the renderer's decode_image, the pixels as stored, with the profile the file embeds. The size notes Open, Place and the Links panel give, and Glass's Load Texture, read the same way. opened_rasters_are_the_pixels_the_image_crate_read compares BMP, TGA and TIFF at 8 and 16 bits, gray and color, with and without alpha, with the image crate's pixels, and PNG, JPEG, GIF and WebP stored as they are.