captcha-canvas API Documentation - v3.3.4
    Preparing search index...

    Variable defaultDimensionConst

    defaultDimension: SetDimensionOption = ...

    Default dimensions for CAPTCHA images.

    These dimensions provide a good balance between readability and file size, suitable for most web applications and forms. The 3:1 aspect ratio allows for comfortable text spacing.

    const captcha = new Captcha(); // Uses 300x100 by default
    
    const largeCaptcha = new Captcha(
    defaultDimension.width * 1.5, // 450px wide
    defaultDimension.height * 1.5 // 150px tall
    );