Home > @gglib/content-loaders > loadPngToImageData

loadPngToImageData variable

Gets the image data of a .png file.

Signature:

loadPngToImageData: Loader<string, ImageData>

Remarks

Internally uses https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getImageData