Replies: 3 comments 3 replies
-
The underlying rust library supports decoding of BMP files but can't actually generate them I'm afraid. One possible workaround would be to use |
Beta Was this translation helpful? Give feedback.
-
Ah great, thank you, I will look into these. I think getImageData might already contain what I'm looking for! |
Beta Was this translation helpful? Give feedback.
-
Hello hello, I stumbled upon this issue, and I gave Are there any plans or considerations of exposing the image buffer of the canvas directly ? Or, do you have any ides why that function might be so slow ? Something like a simple array of rgba ordered pixels: [R, G, B, A, R, G, B, A.....]. That would be generic enough to do anything with it. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have a usecase where we'd like to export our canvas to BMP, so just export the canvas as-is without the need of rasterizing or transforming it to vector graphics.
Is this a possible output option at the moment? If not, would it be possible to add?
Beta Was this translation helpful? Give feedback.
All reactions