EditSafely

Create Image from BGRA Array

Rebuild a PNG image from a flat list of B, G, R, A pixel values. Runs entirely in your browser, so your data never leaves your device.

0 chars · 0 lines

Output

The result appears here as you type.

Options

How to use Create Image from BGRA Array

  1. 1. Paste the BGRA values. Type or paste a flat list of blue, green, red and alpha byte values, four numbers per pixel in row-major order, each ranging from 0 (none) to 255 (full).
  2. 2. Set the Width (px). Enter how many pixels wide each row of the array represents. The tool uses this to split the flat list into rows and reconstruct the image's height automatically.
  3. 3. Download the rebuilt PNG. Click generate to turn the four-channel array into pixels, including transparency, and download the resulting PNG. Semi-transparent alpha values render as partially see-through pixels.

When to use Create Image from BGRA Array

Create Image from BGRA Array rebuilds a PNG, transparency included, from a flat list of blue, green, red and alpha byte values. It is for the specific case where a system dumped pixel data in BGRA channel order with an alpha channel and you need to see it as an actual picture.

  • Inspecting a Windows GDI bitmap dump. Some Windows graphics APIs and DirectX surfaces store pixels as BGRA rather than RGBA. A memory dump or debugging log of a rendered surface needs the channels read in that exact order.
  • Checking alpha compositing in a game engine. You exported a sprite's raw pixel buffer from a rendering pipeline to confirm the alpha channel is set correctly before it gets composited onto a background in the shipped build.
  • Recovering a screenshot buffer. A native screen-capture tool wrote raw BGRA bytes to a log instead of saving a file, and pasting those numbers here is the fastest way to see what was actually captured.

Examples

One opaque blue pixel

Input

255 0 0 255 (width 1)

Output

image.png (1×1 px)

About the Create Image from BGRA Array tool

Create Image from BGRA Array does its work locally, right in the browser. Rebuild a PNG image from a flat list of B, G, R, A pixel values. There is no upload step, no queue and no account, and your data never travels over the network.

It belongs to the Image Tools collection on EditSafely, a set of 200 small, focused Image utilities that share the same instant, private workspace.

You can shape the output with the Width (px) setting, and the result refreshes the moment you change it. The finished file is put together in browser memory and saved with the Download button, so it never touches a server on the way to your disk. A worked example further down the page shows exactly what the tool produces for a real input.

Running locally also makes the tool fast and dependable: results appear as you type or drop a file, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.

Frequently asked questions

Is Create Image from BGRA Array free to use?

Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.

Is it safe to paste sensitive or confidential data?

Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.

How much text can I process at once?

There is no fixed limit. Because the work happens on your own device rather than on a shared server, the practical ceiling is your machine's memory, which comfortably handles inputs far larger than typical online tools allow.

Do I need to sign up or install anything?

No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.

How do I save the output?

Click the Download button once the result is ready. The file is built in your browser's memory and handed straight to your downloads folder, without passing through a server.

Related tools

All Image Tools