ImageJS
    Preparing search index...

    Interface GreyOptions

    interface GreyOptions {
        algorithm?: GreyAlgorithm | GreyAlgorithmCallback;
        keepAlpha?: boolean;
        mergeAlpha?: boolean;
        out?: Image;
    }
    Index

    Properties

    Specify the grey algorithm to use.

    'luma709'

    keepAlpha?: boolean

    Specify wether to keep an alpha channel in the new image or not.

    false

    mergeAlpha?: boolean

    Specify wether to merge the alpha channel with the gray pixel or not.

    true

    out?: Image

    Image to which to output.