Back to Free Tools
FREE TOOLS
Image RGB and alpha channels
Mix RGB with a 3 × 3 matrix, adjust channel gains, or extract a color or alpha channel.
PNG, JPEG, WebP
PNG
Browser only
Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.
This tool needs JavaScript. If it does not load, refresh the page and try again.
How to use this tool
- Choose a PNG, JPEG or static WebP. Select channel gains, a 3 × 3 matrix, or a single-channel extraction.
- Select Process image, inspect the preview or report, and download the result.
- Cancel stops the worker. Reset clears selected files and restores the settings.
Examples
To swap red and blue, set matrix rows to 0,0,1 / 0,1,0 / 1,0,0. Identity rows 1,0,0 / 0,1,0 / 0,0,1 preserve decoded colors.
Limitations
- PNG, JPEG and static WebP only. 20 MiB and 24 megapixels per input, 16,384 pixels per side; output at most 24 megapixels and 64 MiB. Multi-image input totals at most 100 MiB. Processing runs in a cancellable worker with a 120-second deadline. Rendered PNG outputs use stored pixel orientation and browser-decoded colors, with no source EXIF/XMP/text copied.
- Adjustment multiplies R/G/B independently by 0–3 and clips. Color extraction copies the selected channel into RGB while keeping source alpha. Alpha extraction writes alpha into opaque grayscale.
- Matrix mode multiplies the original decoded 8-bit sRGB channels by nine coefficients from -4 to 4, rounds to the nearest integer and clips to 0–255. Alpha is unchanged. This is encoded-color arithmetic, not linear-light or ICC color correction.
- Browser canvas operations can round partially transparent colors and discard invisible RGB. Matrix defaults to identity. Only controls for the active mode are shown.
Related tools
No items found.