gif.js
gif.js copied to clipboard
please support adding raw pixel data
Please consider adding Raw pixels frame. It is very useful to import raw pixels from other programming languages into the javascript interface and add frames.
Thanks
as a workaround, you can put your raw pixels into an ImageData object and then add that ImageData object; see https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Pixel_manipulation_with_canvas for a good starting point
I wouldn't even call that a workaround. ImageData is a reasonable interface.
In my opinion this issue can be closed, as the possibility to add raw pixel data exists.