How Edge-Clamped Canvas Gaussian Blur Avoids Transparent Corner Bleed
Technical look at padded 1px edge-strip clamping that keeps image borders solid and bright when blurring.
Primary Browser Tool
Image Blur Tool
Apply smooth Gaussian-style blur to backgrounds, banners, or privacy-sensitive visuals with edge-clamped borders.
Solving Canvas Out-of-Bounds Sampling
Naive `ctx.filter = "blur(20px)"` samples transparent black pixels outside the image frame along all four edges, creating dark faded vignettes around every border. RapidPNG pads a temporary canvas by `2 × radius` and extends 1px edge strips outward before filtering, then crops back to exact source dimensions.
Practical Examples
Full-Bleed Abstract Gradient Card
Blurred textures stay vivid corner-to-corner with zero darkened frame margins.
Common Mistakes & Honest Limitations
Mistakes to Avoid
- Using CSS `filter: blur()` on full-width hero images without `scale(1.08)` or edge clamping.
Technical Limitations
- Radius caps at 40px to guarantee snappy real-time rendering on massive 4K canvases.