Please bookmark this page to avoid losing your image tool!

Soft Focus Blur Image Effect Generator

(Free & Supports Bulk Upload)

Drag & drop your images here or

The result will appear here...
You can edit the below JavaScript code to customize the image tool.
function processImage(originalImg, blurRadius = "15", opacity = "0.5", blendMode = "screen") {
    // Parse and sanitize parameters
    const blur = isNaN(Number(blurRadius)) ? 15 : Math.max(0, Number(blurRadius));
    const alphaNum = Number(opacity);
    const alpha = isNaN(alphaNum) ? 0.5 : Math.max(0, Math.min(1, alphaNum));
    
    const validBlendModes = [
        'source-over', 'multiply', 'screen', 'overlay', 'darken', 'lighten',
        'color-dodge', 'color-burn', 'hard-light', 'soft-light',
        'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'
    ];
    
    // Standardize default standard blend mode 'normal' to 'source-over'
    let compositeOp = String(blendMode).toLowerCase().trim();
    if (compositeOp === 'normal') compositeOp = 'source-over';
    if (!validBlendModes.includes(compositeOp)) compositeOp = 'screen';

    // Set up canvas
    const canvas = document.createElement('canvas');
    const width = originalImg.width;
    const height = originalImg.height;
    canvas.width = width;
    canvas.height = height;
    
    const ctx = canvas.getContext('2d');

    // 1. Draw the sharp original image as the base layer
    ctx.drawImage(originalImg, 0, 0, width, height);

    // 2. Set the properties for the soft focus blur overlay
    ctx.globalCompositeOperation = compositeOp;
    ctx.globalAlpha = alpha;
    ctx.filter = `blur(${blur}px)`;

    // 3. Draw the original image again; it will be blurred and blended over the base
    // The combination of screen blending + blur gives the classic "dreamy" soft focus glow.
    ctx.drawImage(originalImg, 0, 0, width, height);

    // Reset properties to avoid any unintentional side effects mapping if reused
    ctx.filter = 'none';
    ctx.globalCompositeOperation = 'source-over';
    ctx.globalAlpha = 1.0;

    return canvas;
}

Free Image Tool Creator

Can't find the image tool you're looking for?
Create one based on your own needs now!

Description

The Soft Focus Blur Image Effect Generator allows users to apply a dreamy, glowing aesthetic to their photos by overlaying a blurred version of the image onto itself. Users can customize the effect by adjusting the blur radius, controlling the opacity of the glow, and selecting from various blend modes to achieve different visual styles. This tool is ideal for photographers and digital artists looking to create romantic, ethereal, or professional-looking portraits and atmospheric landscapes.

Leave a Reply

Your email address will not be published. Required fields are marked *

Other Image Tools:

Wii Menu Chirp Echo Image Effect Generator

Sunrise Bloom Image Effect Generator

Morning Mist Overlay Image Effect Generator

Dewdrop Refraction Image Effect Generator

Golden Hour Glow Image Effect Generator

Lights Out Movie Poster

Lights Out Sky Scream Roller Coaster Movie Poster Generator

Lights Out Sky Scream Roller Coaster Movie Poster Website Image

Lights Out Sky Scream Roller Coaster Movie Poster Image

Empty Texas State Driver License Generator

Editable Realistic State Driver License Photo Template Generator

Photo To Skype Incoming Call Video Converter for Mac

Photo To Skype Incoming Call Video Converter

Photo To Skype Incoming Call Background Converter

Photo To Video Trailer Creator

Cybernatural Conjuring Teaser Poster Generator

Unfriended Conjuring Movie Poster Image

Annabelle Comes Home Movie Poster

Annabelle Creation Movie Poster

Annabelle Movie Poster 2014

The Conjuring Last Rites Movie Poster

The Conjuring The Devil Made Me Do It Movie Poster

The Conjuring 2 Movie Poster

The Conjuring Movie Poster

Photo To Conjuring Title Card Sequence Converter

Image License Information Viewer

Image Moiré Effect Text Adder

Moiré Pattern Image Generator With Shapes and Decorative Elements

Video To Website Image Converter

Photo To AI Trailer Video Generator

Photo To AI Video Trailer Generator

Conjuring Style Video Closing Title Sequence AI Generator

Photo To Conjuring Style Video Closing Title Sequence Converter

The Conjuring Movie Poster Image Creator

Two Photo Side by Side Merger Tool

Two Photo VS Comparison Tool

See All →