Please bookmark this page to avoid losing your image tool!

Image Black And White With Green #61 Filter Effect Tool

(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.
/**
 * Applies a Black and White with Green #61 Filter effect to an image.
 * This effect typically emphasizes the green channel, making green areas lighter
 * and red/blue areas darker in the resulting black and white image.
 *
 * @param {Image} originalImg The original JavaScript Image object.
 * @returns {HTMLCanvasElement} A canvas element with the B+W Green #61 filter effect applied.
 */
function processImage(originalImg) {
    // Create a new canvas element
    const canvas = document.createElement('canvas');
    const ctx = canvas.getContext('2d');

    // Set the canvas dimensions to match the original image
    // Ensure originalImg is loaded for naturalWidth/naturalHeight to be available.
    // The problem statement implies originalImg is a loaded Image object.
    canvas.width = originalImg.naturalWidth;
    canvas.height = originalImg.naturalHeight;

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

    // Get the image data from the canvas
    const imageData = ctx.getImageData(0, 0, canvas.width, canvas.height);
    const data = imageData.data; // This is a Uint8ClampedArray: [R,G,B,A, R,G,B,A, ...]

    // Iterate over each pixel
    // Each pixel is 4 bytes (R, G, B, A)
    for (let i = 0; i < data.length; i += 4) {
        // const r = data[i];     // Red channel
        const g = data[i + 1]; // Green channel
        // const b = data[i + 2]; // Blue channel
        // const alpha = data[i + 3]; // Alpha channel

        // The Green #61 filter effect makes the green channel the primary determinant
        // of luminance in the black and white image.
        // Effectively, we use the green channel's value as the grayscale value.
        const grayValue = g;

        // Set the new grayscale value for R, G, B channels
        data[i] = grayValue;     // Red
        data[i + 1] = grayValue; // Green
        data[i + 2] = grayValue; // Blue
        // Alpha channel (data[i + 3]) remains unchanged
    }

    // Put the modified image data back onto the canvas
    ctx.putImageData(imageData, 0, 0);

    // Return the canvas with the applied effect
    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 Black and White with Green #61 Filter Effect Tool transforms your images into striking black and white renditions where the green hues are emphasized. This tool utilizes a unique filter effect that enhances green areas, making them appear lighter, while red and blue areas become darker. It is ideal for photographers and graphic designers looking to create dramatic, monochromatic images with a distinct green tone, perfect for artistic projects, visual content for social media, or enhancing landscape photos.

Leave a Reply

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

Other Image Tools:

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

Image Fujifilm FP-100C Instant Film Effect Filter

Image Canon AE-1 Film Camera Render Effect

Photo B+W Dark Red #29 Filter Effect Application

Image Toy Camera Effect Enhancer

Photo Graflex Speed Graphic Filter Effect Tool

Image Konica Hexar AF Filter Effect Application

Image Ricoh GR Film Camera Filter Effect Application

Image Kodak Disposable Camera Filter Effect

Image Hoya Pro ND Filter Effect Application

Image Wratten #12 Yellow Filter Effect Tool

Image AGFA APX 100 Film Filter Effect Tool

Image Singh-Ray Vari-ND Filter Effect Application

Image Rollei RPX 25 Film Filter Effect Tool

Image 35mm Half-frame Camera Filter Effect

Image Kodak Vision3 250D Motion Picture Film Effect Filter

Image 120 Film Format Filter Effect

Image Lens Whacking Filter Effect Tool

Image Black and White Red Filter Effect Tool

Image Lee Medium Stopper 6-Stop ND Filter Effect Tool

Image Nikon F3 Film Camera Render Effect Tool

Image Polaroid Spectra Filter Effect Tool

Image Contax T2/T3 Filter Effect Application

Image Bronica ETRS Medium Format Filter Effect Application

Image Soap Bubble Bokeh Effect Generator

Image Center Graduated ND Filter Effect Tool

Image Breakthrough Photography X4 ND Filter Effect

Photo Filter Effect Creator for Yashica T4 Point-and-Shoot

See All →