ImageJS
    Preparing search index...

    Interface ClearBorderOptions

    interface ClearBorderOptions {
        allowCorners?: boolean;
        color?: "black" | "white";
        out?: Mask;
    }
    Index

    Properties

    allowCorners?: boolean

    Consider pixels connected by corners?

    false

    color?: "black" | "white"

    Clear either white or black area touching the border. In practice it will invert the color.

    'white'

    out?: Mask

    Image to which the resulting image has to be put.