I was trying the WritePixelsBuffer but it kept on saying that the buffer length wasnt matching the size.
I tried multiple methods, setting the EditableImage size before making the buffer, making a vector2 for both EditableImage and buffer, subtracting or adding to see if its a few bytes off.
None worked.