PixelPurge is a tool that merges the fine color mottling and noise that appears in AI-generated images into solid-color regions based on similar colors. It replaces each connected region with its average color using a flood-fill approach. Images are processed within your browser and are never sent to a server.
Drop an image or click
PNG / JPG / WebP — all processing runs within your browser
Color Tolerance 15RGB
Strict (fine regions) Loose (bold merging)
ORIGINAL ← drag to compare → PURGED

About PixelPurge

The output of AI image generation models can contain pixels with subtly different RGB values even where the color is meant to be the same, creating a "mottled" pattern. PixelPurge merges these into the average color per connected region, giving a more poster-like, illustration-like finish.

  • No upload — everything is processed within your browser
  • Adjust the merging granularity with color distance tolerance
  • Before / after comparison via slider
  • Download the result as a PNG

Frequently Asked Questions (FAQ)

How is the color mottling in AI-generated images merged into solid colors?

PixelPurge uses a flood-fill approach to group adjacent pixels of similar colors into a single connected region, then replaces that region with its average color. The larger the "color distance tolerance", the more colors are treated as the same region, resulting in more aggressive flattening.

Are uploaded images sent to a server?

No. Everything from loading to conversion and downloading is completed entirely within your browser (client-side), and your images are never sent to an external server.

How do I use it?

Drag and drop an image onto the drop area or click to select one, adjust the merging granularity with the color distance tolerance slider, and press "Run Conversion". You can compare before and after with the slider, and download the result as a PNG.

📖 Free learning posters for students →
PROCESSING