Please bookmark this page to avoid losing your image tool!

Image Vintage Sepia Filter 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);

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

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

    const tr = 0.393 * r + 0.769 * g + 0.189 * b;
    const tg = 0.349 * r + 0.686 * g + 0.168 * b;
    const tb = 0.272 * r + 0.534 * g + 0.131 * b;

    data[i] = Math.min(255, tr);
    data[i + 1] = Math.min(255, tg);
    data[i + 2] = Math.min(255, tb);
  }

  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 Vintage Sepia Filter Application allows users to apply a vintage sepia filter to their images, enhancing them with warm brown tones that evoke a nostalgic and classic feel. This tool can be useful for photographers, graphic designers, or anyone looking to give their images an antique appearance for personal projects, social media sharing, or creative presentations.

Leave a Reply

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