embedded-sprites

Embedded no std graphics library for bundling image at compile time, to be used at the embedded-graphics crate.
The include_image macro can be usede to create a Image from an existing image file at compile time. Every image formats supported by the image crate can be used. The image will be automatically be converted to the requested pixelcolor. Current only rgb pixelcolors are supported.
use Bgr565;
use ;
const IMAGE: = "grass.png";
To draw a Image it must be put inside a Sprite. You can use the same Image inside multiple Sprites;
use ;
use Sprite;
const SPRITE1: = new;
const SPRITE2: = new;
SPRITE1.draw.unwrap;
SPRITE2.draw.unwrap;