List image pixels as RGBA byte values
Nothing found — try another word.
This tool has no parameters — the result is ready as is.
Lists every pixel as four decimal bytes (R G B A), one image row per line.
Nothing found — try another word.
This tool has no parameters — the result is ready as is.
List image pixels as RGBA byte values writes out, for every pixel, four decimal numbers between 0 and 255: red, green, blue, alpha. That is the raw form a canvas script works with — the array handed to a typed array, the buffer written into a shader, the sample a colleague wants as numbers rather than as a picture. The list prints one image row per line, so the shape of the image stays readable in the text, and what you get is always the decoded pixels, so a JPG simply contributes fully opaque alpha values. There is no quality setting involved: the numbers are the picture.
Four for every pixel, so a 100 by 100 image prints 40000 numbers. One image row is one line, which is how you count the width.
They describe the decoded picture, so a screenshot, a photo and a flat icon all print four numbers per pixel.
Yes. The bytes to PNG tool rebuilds the image from exactly this layout once you give it the width of a row. The pixel values survive unchanged; the re-encoded file is not guaranteed to match byte for byte.
Zero alpha is fully transparent, and it is a real value rather than a missing one. A JPG or BMP has no alpha channel, so it reports 255.