Please bookmark this page to avoid losing your image tool!

Google Play Market Image Downloader

(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, assetType = "Feature Graphic (1024x500)", objectFit = "cover", backgroundColor = "#ffffff") {
    let width, height;
    
    // Determine target dimensions based on Google Play Store asset specifications
    switch(assetType) {
        case "Icon (512x512)":
            width = 512;
            height = 512;
            break;
        case "Phone Screenshot (1080x1920)":
            width = 1080;
            height = 1920;
            break;
        case "7-inch Tablet Screenshot (1200x1920)":
            width = 1200;
            height = 1920;
            break;
        case "10-inch Tablet Screenshot (1536x2048)":
            width = 1536;
            height = 2048;
            break;
        case "Feature Graphic (1024x500)":
        default:
            width = 1024;
            height = 500;
            break;
    }

    const canvas = document.createElement("canvas");
    canvas.width = width;
    canvas.height = height;
    const ctx = canvas.getContext("2d");

    // Fill the background
    ctx.fillStyle = backgroundColor;
    ctx.fillRect(0, 0, width, height);

    // Calculate dimensions to maintain aspect ratio
    const imgRatio = originalImg.width / originalImg.height;
    const targetRatio = width / height;

    let drawWidth, drawHeight, x, y;

    if (objectFit === "contain") {
        if (imgRatio > targetRatio) {
            drawWidth = width;
            drawHeight = width / imgRatio;
        } else {
            drawHeight = height;
            drawWidth = height * imgRatio;
        }
    } else { 
        // Default to "cover"
        if (imgRatio > targetRatio) {
            drawHeight = height;
            drawWidth = height * imgRatio;
        } else {
            drawWidth = width;
            drawHeight = width / imgRatio;
        }
    }

    // Center the image on the canvas
    x = (width - drawWidth) / 2;
    y = (height - drawHeight) / 2;

    // Draw the original image optimally placed
    ctx.drawImage(originalImg, x, y, drawWidth, drawHeight);

    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 allows users to format and resize images to meet the specific technical requirements of the Google Play Store. It can automatically adjust images into various asset sizes, including app icons, feature graphics, and screenshots for phones and different tablet dimensions. It is a useful resource for mobile app developers and designers who need to ensure their store assets are correctly scaled and positioned to maintain professional visual standards on the Play Market.

Leave a Reply

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