@unpic/pixels

ascorbic/get-pixels

Load and decode the pixels for a PNG or JPEG image

This module will take the raw data or URL of a PNG or JPEG image and return the decoded pixels and dimensions of the image. It is available for Deno and Node.