OK, I changed the way the imagesurface is cloned. Instead of using the original as a source and repainting, the data array is just directly over. This fixes the problem, but to be honest don't don't understand why it was broken to begin with. ( So I employed MIDD: Magical Incantation-Driven Development)
In case there is a specific reason it was done this way before or anyone sees a reason why the new way is worse (performance?) I uploaded it as a pull request rather than commiting directly. [1] Anyone have any thoughts on this?
OK, I changed the way the imagesurface is cloned. Instead of using the original as a source and repainting, the data array is just directly over. This fixes the problem, but to be honest don't don't understand why it was broken to begin with. ( So I employed MIDD: Magical Incantation-Driven Development)
In case there is a specific reason it was done this way before or anyone sees a reason why the new way is worse (performance?) I uploaded it as a pull request rather than commiting directly. [1] Anyone have any thoughts on this?
[1] https:/ /github. com/PintaProjec t/Pinta/ pull/29