Please bookmark this page to avoid losing your image tool!

No Descriptive Tool Information Provided

(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, intensity = "100", borderWidth = "20", overlayText = "Дело о Драконе и Георгии") {
    // Create canvas
    const canvas = document.createElement('canvas');
    const ctx = canvas.getContext('2d');

    // Set canvas dimensions to match the original image
    canvas.width = originalImg.width;
    canvas.height = originalImg.height;

    // Parse parameters
    const sepiaVal = Number(intensity) || 100;
    const border = Number(borderWidth) || 20;

    // Apply a vintage / medieval artistic filter using canvas context filter
    // This gives the image an antique look fitting for "Saint George and the Dragon"
    ctx.filter = `sepia(${sepiaVal}%) contrast(120%) brightness(90%)`;
    ctx.drawImage(originalImg, 0, 0, canvas.width, canvas.height);

    // Reset filter for subsequent drawings (borders and text)
    ctx.filter = 'none';

    // Draw the aesthetic borders (Icon/Painting style frame)
    if (border > 0) {
        // Outer Golden border
        ctx.lineWidth = border;
        ctx.strokeStyle = '#D4AF37'; // Metallic Gold
        ctx.strokeRect(border / 2, border / 2, canvas.width - border, canvas.height - border);

        // Inner dark border for depth
        ctx.lineWidth = border / 4;
        ctx.strokeStyle = '#3E2723'; // Dark brown
        const innerOffset = border + (border / 8);
        ctx.strokeRect(innerOffset, innerOffset, canvas.width - innerOffset * 2, canvas.height - innerOffset * 2);
    }

    // Add overlay text if provided
    if (overlayText && overlayText.trim() !== '') {
        const fontSize = Math.max(20, Math.floor(canvas.height / 15));
        
        // Use a web-safe serif font to match the historical/classic aesthetic
        ctx.font = `italic bold ${fontSize}px "Times New Roman", Times, serif`;
        ctx.textAlign = 'center';
        ctx.textBaseline = 'bottom';
        
        const x = canvas.width / 2;
        const y = canvas.height - border - (canvas.height * 0.02);
        
        // Add text shadow for readability against complex image backgrounds
        ctx.shadowColor = "rgba(0, 0, 0, 0.8)";
        ctx.shadowBlur = 6;
        ctx.shadowOffsetX = 3;
        ctx.shadowOffsetY = 3;
        
        // Fill text with gold color
        ctx.fillStyle = '#D4AF37';
        ctx.fillText(overlayText, x, y);
        
        // Reset shadow and add a thin stroke to make the text pop
        ctx.shadowColor = "transparent";
        ctx.shadowBlur = 0;
        ctx.lineWidth = 1;
        ctx.strokeStyle = '#1a1a1a';
        ctx.strokeText(overlayText, x, y);
    }

    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

This tool applies a vintage, artistic filter to images to give them an antique or historical appearance. It allows users to adjust the intensity of a sepia effect, add decorative metallic gold and dark borders, and overlay custom text in a classic serif font. It is ideal for creating stylized artwork, historical-themed social media posts, or decorative digital frames for photos.

Leave a Reply

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