nwin
nwin
The color map maps the raw pixel values (0–255) onto rgb triplets. `Frame::from_rgba` will solve this for you. This will make the image considerably larger as it then uses a...
As I already mentioned, [`image_buffer`](https://github.com/PistonDevelopers/image_buffer) will be used. Contributions/opinions are very welcome. 🙂
As you noticed, this library does in fact support the loading of animated images since all frames are accessible. Furthermore it also allows to output animated images (with delay) as...
Does #33 cover your intention?
I totally agree to you on the image buffer thing. I’m currently reworking the existing image buffer from `image` in order to move it into it’s own crate such that...
@boscop Unfortunately nobody gets animated gifs right. Frames with a delay of zero are rendered incorrect in all browsers I know of.
Thank you, but the third to last line is the reason why it is still is as it is. It is really not trivial to create an ergonomic but safe...
That is not what I meant. It get’s quite tricky if you only want to define a shim over the underlying slice of primitives. Meaning not copying the data, which...
All I'm saying is, that I'm completely with you but it takes time to implement because I it is harder to create a wrapper than i thought.
One could already define `const WHITE: Rgb = Rgb(data: [255, 255, 255]);` and use `pixel.from_color(WHITE)` using the `FromColor` trait.