I use createImageBitmap to load png images in the latest version of chrome browser. imageOrientation is flipY, premultiplyAlpha no effect. (always premultiply) imageOrientation is none, it works.
createImageBitmap(image, { imageOrientation: flipY ? 'flipY' : 'none', premultiplyAlpha: 'none', });
I don't know what went wrong about this code on chrome.
Aucun commentaire:
Enregistrer un commentaire