← Back to App

The Science of ClipperLab

ClipperLab isn't just a cropping tool; it's a computer vision utility designed to give artists total control over their digital assets. It uses a mathematical approach called Connected Component Labeling (CCL) to "detect" the shapes you've drawn on a sheet of paper or a digital canvas.

🚀 How it works

  1. Detection: The engine scans every pixel of your image. Based on your Threshold setting, it identifies which pixels are "ink" and which are "paper".
  2. Labeling: When it finds a group of "ink" pixels that are touching each other, it marks them as a single Blob (a character).
  3. Refine: Use the Threshold slider if your background isn't pure white. This helps the engine distinguish between your art and the paper texture.
  4. Square Up: Every character is automatically centered in a perfect square. No more manual resizing for calendar cells or UI icons.
  5. Select & Save: Download only the characters you need.

🎛️ Advanced Detection Controls

Threshold

Adjusts the sensitivity of the "background removal". Higher values make the engine more aggressive at seeing light colors as white background.

Merge Distance (px)

Unifies disconnected parts of a single character. If two detected islands are within this pixel distance, they are treated as one. Perfect for floating accessories or complex poses.

Min Blob Size (px)

Filters out noise. Any pixel cluster smaller than this value (in total pixel count) will be ignored. Higher values ignore dust and small marks.

Background Mode

Tells the engine what to look for. Auto guesses based on the corners. Light is for paper. Dark is for chalkboards or dark themes. Transparent uses the alpha channel for digital art.

Padding %

Controls the "Breathing Room". It adds extra space around the character before centering it in a square. Higher padding ensures the art doesn't touch the edges.

🎨 Example: The Cow Sheet

Example Cow Sheet

A typical 3x3 character sheet that ClipperLab can process in seconds.

Imagine you have a 3x3 grid of hand-drawn cows. Manual cropping takes 10 minutes. With ClipperLab:

🕵️ Why it matters

Standard grid-slicers assume your drawings are perfectly aligned. Artists rarely draw that way. ClipperLab "sees" your drawings based on their actual shape, allowing for irregular layouts and varying character sizes.

🔒 Privacy First: Local-Only Processing
ClipperLab runs entirely in your browser. When you "upload" a file, it is loaded into your computer's RAM, not our servers. Your art never leaves your machine.

📋 Privacy Policy

We value your creative intellectual property. Our privacy policy is simple:

⚖️ Disclaimer

ClipperLab is provided "as is" without warranty of any kind. While we strive for 100% accuracy, detection results depend on image quality and contrast. We are not responsible for any data loss or incorrect crops.