Please bookmark this page to avoid losing your image tool!

Image Agfa Optima 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) {
    const canvas = document.createElement('canvas');
    const ctx = canvas.getContext('2d');

    canvas.width = originalImg.naturalWidth;
    canvas.height = originalImg.naturalHeight;

    ctx.drawImage(originalImg, 0, 0, canvas.width, canvas.height);

    const imageData = ctx.getImageData(0, 0, canvas.width, canvas.height);
    const data = imageData.data;

    // Agfa Optima Filter Effect constants
    // 1. Contrast adjustment
    // The contrast value (-255 to 255). A moderate positive value enhances contrast.
    const contrastValue = 20; // Adjusted for a slightly stronger contrast effect typical of film
    const contrastFactor = (259 * (contrastValue + 255)) / (255 * (259 - contrastValue));

    // 2. Color transformation matrix for Agfa Optima "look"
    // These coefficients aim for warm tones, good red/yellow saturation, and a filmic quality.
    // R' = R*m11 + G*m12 + B*m13
    // G' = R*m21 + G*m22 + B*m23
    // B' = R*m31 + G*m32 + B*m33
    const m11 = 1.05, m12 = 0.15, m13 = -0.10;
    const m21 = 0.05, m22 = 0.95, m23 = 0.05; // Slightly increased G self-term for better greens
    const m31 = -0.05, m32 = 0.10, m33 = 0.90; // Adjusted B for slightly warmer blues, less desaturation


    for (let i = 0; i < data.length; i += 4) {
        let r = data[i];
        let g = data[i + 1];
        let b = data[i + 2];

        // Apply contrast
        let r_c = contrastFactor * (r - 128) + 128;
        let g_c = contrastFactor * (g - 128) + 128;
        let b_c = contrastFactor * (b - 128) + 128;

        // Clamp contrast-adjusted values (though matrix math might handle out-of-range inputs if final clamp is robust)
        r_c = Math.max(0, Math.min(255, r_c));
        g_c = Math.max(0, Math.min(255, g_c));
        b_c = Math.max(0, Math.min(255, b_c));

        // Apply color matrix for Agfa Optima effect
        const finalR = r_c * m11 + g_c * m12 + b_c * m13;
        const finalG = r_c * m21 + g_c * m22 + b_c * m23;
        const finalB = r_c * m31 + g_c * m32 + b_c * m33;

        // Clamp final RGB values to [0, 255]
        data[i]     = Math.max(0, Math.min(255, finalR));
        data[i + 1] = Math.max(0, Math.min(255, finalG));
        data[i + 2] = Math.max(0, Math.min(255, finalB));
        // Alpha channel (data[i + 3]) remains unchanged
    }

    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 Image Agfa Optima Filter Effect Application allows users to enhance their photos by applying a vintage film effect reminiscent of the Agfa Optima look. This tool modifies the contrast and color tones of an image to create warm, rich colors with improved red and yellow saturation, providing a nostalgic aesthetic typical of classic film photography. It is ideal for photographers, designers, or anyone looking to give their digital images a unique, retro feel, making it suitable for social media posts, art projects, and personal photo collections.

Leave a Reply

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

Other Image Tools:

Image Technicolor 3-Strip Process Filter Effect

Image Cyanotype Process Filter Effect

Image Black and White with Orange #21 Filter Effect Tool

Image Bleach Bypass Effect Filter

Image IMAX Camera Filter Effect Tool

Image Super 8 Film Filter Effect Tool

Image Anamorphic Lens Flare Filter Effect Tool

Image Prism Photography Filter Effect Tool

Image Freelensing Effect Creator

Image Tiffen Glimmerglass Filter Effect Tool

Image Mamiya RZ67 Medium Format Filter Effect Tool

Image Wet Plate Collodion Filter Effect Tool

Image Ilford Pan F Plus 50 Filter Effect Tool

Image X-ray Photography Filter Effect Tool

Image Radial Graduated Filter Effect Tool

Image Lee 80A Cooling Filter Effect Application

Image Autochrome Lumière Filter Effect Tool

Photo Infrared 720nm Filter Effect Tool

Image 10-Stop ND Filter Effect Tool

Photo Full Spectrum Filter Effect Tool

Image Motion Blur Filter Effect Tool

Image Panavision Film Look Filter Effect Tool

Image Rolleiflex TLR Camera Filter Effect Tool

Image Lee 85B Warming Filter Effect Application

Image Tiffen Black Pro-Mist Filter Effect Tool

Image Fomapan 100 Filter Effect Application

Image Lens Flare Filter Effect Tool

Image Ilford XP2 Super Filter Effect Application

Image Cinemascope Filter Effect Applicator

Image Dubblefilm Solar Filter Effect Application

Image Night Vision Filter Effect Tool

Image Tintype Filter Effect Application

Image Color Graduated Filter Effect Tool

Image Agfa Vista Filter Effect Application

Image Schneider Hollywood Black Magic Filter Effect Tool

Image TMax 400 Filter Effect Tool

See All →