rullino
    Preparing search index...

    Variable asciiConst

    ascii: MultipassFilter<
        {
            cell: {
                default: 8;
                description: "Width of each glyph cell in pixels.";
                label: "Cell size (px)";
                max: 32;
                min: 4;
                type: "int";
                unit: "px";
            };
            color: {
                default: "fixed";
                description: "Use one ink colour on one paper colour, or take each glyph's colour from the picture.";
                label: "Glyph colour";
                options: { fixed: "Ink colour"; source: "Image colours" };
                type: "enum";
            };
            ink: {
                default: readonly [0.85, 1, 0.85];
                description: "Colour of the glyphs when using the ink colour.";
                label: "Ink";
                type: "color";
            };
            invert: {
                default: false;
                description: "Off: bright areas get the dense glyphs. On: dark areas get them instead, which suits dark ink on light paper.";
                label: "Dark = dense";
                type: "bool";
            };
            paper: {
                default: readonly [0.04, 0.07, 0.05];
                description: "Colour of the background.";
                label: "Paper";
                type: "color";
            };
        },
    > = ...

    ASCII art: the image is cut into square cells of cell px; each cell is drawn as one glyph of a ten-step ramp (empty to solid) chosen by the cell's mean tone (sRGB-encoded luminance of TAPS × TAPS taps; bright = dense, or the reverse with invert). Glyphs are 5 × 7 bitmaps scaled to the cell, drawn in ink on paper, or in the cell's mean colour with color: 'source'. Alpha is kept.