Home > @gglib/content-loaders > loadJpegToImageData

loadJpegToImageData variable

Gets the image data of a .jpg file.

Signature:

loadJpegToImageData: Loader<string, ImageData>

Remarks

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