HumHub Documentation (unofficial)

Grayscale extends OnPixelBased
in package
implements FilterInterface

The Grayscale filter calculates the gray-value based on RGB.

Table of Contents

Interfaces

FilterInterface
Interface for imagine filters.

Properties

$callback  : callable

Methods

__construct()  : mixed
Initialize the instance.
apply()  : ImageInterface
Applies scheduled transformation to an ImageInterface instance.

Properties

Methods

__construct()

Initialize the instance.

public __construct() : mixed

        
On this page

Search results