ebiten icon indicating copy to clipboard operation
ebiten copied to clipboard

ebiten: add `ReadPixels` to `Image`

Open hajimehoshi opened this issue 2 years ago • 3 comments

This gets pixels and is more efficient than At.

hajimehoshi avatar Feb 19 '22 13:02 hajimehoshi

Or ReadPixels?

hajimehoshi avatar Jun 07 '22 17:06 hajimehoshi

Or ReadPixels?

I like ReadPixels! Still with a ReadPixels(pixels []byte) []byte prototype?

Zyko0 avatar Jun 13 '22 19:06 Zyko0

No, this will be ReadPixels([]byte)

hajimehoshi avatar Jun 14 '22 04:06 hajimehoshi

I think I'll rename ReplacePixels to WritePixels for consistency.

hajimehoshi avatar Aug 07 '22 14:08 hajimehoshi