CoreFiles by mySites.guru
Sketchy.php35 lines, 765 bytes, from Joomla_4.2.0-Stable-Full_Package.zip
Raw History Compare with 4.1.5
md5
4b5351f9b8d6679e73b087cb948f0c77
sha1
e63c24ba0efb9cbd71f2fdaab2ffbc7705207ae0
sha256
0cd2aedeaba7cbca048336ba37eb2bf85902b6f7da1d4080fdceded60c8c8230
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright   (C) 2005 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE
 */

namespace Joomla\CMS\Image\Filter;

use Joomla\CMS\Image\ImageFilter;

/**
 * Image Filter class to make an image appear "sketchy".
 *
 * @since  2.5.0
 */
class Sketchy extends ImageFilter
{
    /**
     * Method to apply a filter to an image resource.
     *
     * @param   array  $options  An array of options for the filter.
     *
     * @return  void
     *
     * @since   2.5.0
     */
    public function execute(array $options = [])
    {
        // Perform the sketchy filter.
        imagefilter($this->handle, IMG_FILTER_MEAN_REMOVAL);
    }
}

The same content is in 5 releases, Joomla 4.2.0-beta3 to 4.2.1-rc2. See them all, or every version of this file.