Y flip problem that may occur when acquiring safari canvas images
When using toDataURL() to copy an image from the canvas of pixi.js, the y flip phenomenon will appear on the safari browser. However, everything works fine on Google Chrome on PC.
I noticed jpweeks mentioned keyword, but no solution is given.
When using pixi.js, specify the canvas and context. Set premultipliedAlpha to True to solve this problem.
When using safari to view this index.html, everything is as you wish.
use safari to check this demo
Hope it can help you.