Please bookmark this page to avoid losing your image tool!

Photo Fujifilm Klasse W Filter Effect Application

(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, contrast = 1.1, saturation = 0.95, temperature = -5, greenShift = 0.08, blueBoost = 0.04) {
    const canvas = document.createElement('canvas');
    // Using { willReadFrequently: true } can be an optimization hint for the browser
    // if you're doing many readbacks (getImageData).
    const ctx = canvas.getContext('2d', { willReadFrequently: true });

    // Ensure using intrinsic dimensions of the image
    const imgWidth = originalImg.naturalWidth || originalImg.width;
    const imgHeight = originalImg.naturalHeight || originalImg.height;

    canvas.width = imgWidth;
    canvas.height = imgHeight;

    // Draw the original image onto the canvas
    ctx.drawImage(originalImg, 0, 0, imgWidth, imgHeight);

    // Get image data to manipulate pixels
    const imageData = ctx.getImageData(0, 0, imgWidth, imgHeight);
    const data = imageData.data;

    for (let i = 0; i < data.length; i += 4) {
        // Get current pixel's RGB values
        // These are initially in the 0-255 range.
        // Calculations below are floating point and might go out of this range temporarily.
        let r = data[i];
        let g = data[i + 1];
        let b = data[i + 2];

        // 1. Apply Contrast
        // Adjusts the difference from mid-gray (128).
        // Values > 1 increase contrast, < 1 decrease it.
        r = (r - 128) * contrast + 128;
        g = (g - 128) * contrast + 128;
        b = (b - 128) * contrast + 128;

        // 2. Apply Saturation
        // lum = perceived brightness (weighted average of R, G, B)
        // The weights are standard for converting RGB to Luminance (Y in YIQ/YUV).
        const lum = 0.299 * r + 0.587 * g + 0.114 * b;
        // Lerp (linear interpolation) between grayscale (lum) and the color based on saturation factor.
        // saturation = 0 gives grayscale, 1 gives original color, > 1 increases saturation.
        r = lum + (r - lum) * saturation;
        g = lum + (g - lum) * saturation;
        b = lum + (b - lum) * saturation;
        
        // 3. Apply Temperature
        // Positive temperature values make the image warmer (more red/yellow, less blue).
        // Negative temperature values make the image cooler (more blue, less red/yellow).
        // temperature is scaled by /100.0 to get a percentage factor.
        const tempFactor = Math.abs(temperature) / 100.0; 
        if (temperature > 0) { // Warmer: increase Red, decrease Blue
            r *= (1 + tempFactor);
            b *= (1 - tempFactor);
        } else if (temperature < 0) { // Cooler: increase Blue, decrease Red
            b *= (1 + tempFactor);
            r *= (1 - tempFactor);
        }
        // If temperature is 0, no change in this step.
        // Green channel is typically not directly affected by basic temperature adjustments.

        // 4. Fujifilm Klasse W specific color adjustments
        // These are aesthetic choices to emulate some common Fujifilm characteristics.
        
        // Slight general red suppression, common in some cooler film looks.
        let final_r = r * 0.98; 
        
        // Boost green slightly and add blue channel influence. This shifts greens towards cyan/teal.
        // greenShift (default 0.08) controls the strength of blue influence.
        let final_g = g * 1.02 + b * greenShift; 
        
        // Boost blue channel and add a hint of green. This aims for Fuji's characteristic rich, slightly cyan-tinted blues.
        // blueBoost (default 0.04) controls the main blue enhancement.
        // The g * (blueBoost * 0.2) part adds a small amount of green influence to blue.
        let final_b = b * (1.0 + blueBoost) + g * (blueBoost * 0.2);

        // Final Clamp: Ensure all R, G, B values are within the valid 0-255 range.
        data[i] = Math.max(0, Math.min(255, final_r));
        data[i + 1] = Math.max(0, Math.min(255, final_g));
        data[i + 2] = Math.max(0, Math.min(255, final_b));
        // Alpha channel (data[i+3]) remains unchanged.
    }

    // Put the modified pixel data back onto the canvas
    ctx.putImageData(imageData, 0, 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 Photo Fujifilm Klasse W Filter Effect Application is a tool designed to enhance images by applying specific photographic effects inspired by Fujifilm’s Klasse W film characteristics. Users can adjust the contrast, saturation, temperature, and color balance of their images to achieve a distinct aesthetic. This tool is useful for photographers, artists, and social media users looking to enhance their photos with a vintage or film-like quality, making it ideal for creating vibrant and visually appealing images for personal projects, marketing materials, or social media posts.

Leave a Reply

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

Other Image Tools:

Image Deardorff Large Format Filter Effect Application

Image Lomo LC-A Filter Effect Tool

Image Large Format Filter Effect Application

Image Zone Plate Lens Effect Creator

Photo Kodak Retina Filter Effect Tool

Image Polaroid 600 Filter Effect Tool

Photo Black and White Yellow Filter Effect Tool

Image Contax G2 Film Camera Render Effect Applicator

Image 110 Film Format Filter Effect Tool

Photo Jupiter-9 Portrait Lens Filter Effect

Image Fujifilm GW690 Texas Leica Filter Effect Application

Image Zeiss T* Coating Filter Effect Tool

Image Hoya R72 Infrared Filter Effect Tool

Image Filter Effect for Zeiss Ikon Contaflex

Photo Olympus Mju-II/Stylus Epic Filter Effect Tool

Image NiSi Nano IR ND Filter Effect Tool

Image Polaroid SX-70 Filter Effect Tool

Image Linhof Technika Filter Effect Tool

Image Lee Big Stopper 10-Stop ND Filter Effect Tool

Image Minolta X-700 Film Camera Render Effect Creator

Image ORWO UN54 Motion Picture Film Effect Applicator

Image Shen-Hao Large Format Filter Effect Tool

Image Impossible Project Polaroid Filter Effect Tool

Photo Foma Retropan 320 Film Filter Effect Tool

Image Fuji QuickSnap Disposable Filter Effect Application

Image 220 Film Format Filter Effect

Image Black and White with Green #61 Filter Effect Tool

Image 35mm Panoramic Camera Filter Effect Tool

Image Hitech Firecrest ND Filter Effect Formatter

Photo Rodenstock Digital Vario ND Filter Effect Tool

Image Leica Yellow Filter Effect Application

Image Argus C3 Vintage Camera Filter Effect

Image ORWO NP22 Film Filter Effect Application

Image Wratten #25 Red Filter Effect Tool

Image Helios 44-2 Swirly Bokeh Effect Filter

Image Fujifilm ETERNA Motion Picture Film Effect Applicator

See All →