Convert blob of image (png or bmp) into Image
The BMP file format, also known as bitmap image file or device independent bitmap (DIB) file format or simply a bitmap, is a raster graphics image file format used to store bitmap digital images, independently of the display device (such as a graphics adapter), especially on Microsoft Windows and OS/2 operating systems.
Note: Using BMP 32bit is discouraged due to lack of proper support across browsers
Portable Network Graphics (PNG) is a raster-graphics file-format that supports lossless data compression. PNG was developed as an improved, non-patented replacement for Graphics Interchange Format (GIF).
PNG supports palette-based images (with palettes of 24-bit RGB or 32-bit RGBA colors), grayscale images (with or without alpha channel for transparency), and full-color non-palette-based RGB images (with or without alpha channel).
Create Image of List (List Int) where each Int is 0xRRGGBBAA
Create Image of Array (Array Int) where each Int is 0xRRGGBBAA
Create Image of Bytes where each pixel is unsignedInt32 - 0xRRGGBBAA
Take Image of and converts it to matrix List (List Int) where each Int is 0xRRGGBBAA
Take Image of and converts it to matrix Array (Array Int) where each Int is 0xRRGGBBAA
Just syntax sugar for easier understanding
Just syntax sugar for easier understanding
Data Model representing Image data, that can be used to create image, or convert primitives to use image pixels as data