CoreFiles by mySites.guru
Edgedetect.php36 lines, 767 bytes, from Joomla_4.1.5-Stable-Full_Package.zip
Raw History Compare with 4.1.4
md5
cdb17b9f7381ae9923d70d41ed31276f
sha1
f1fcae4ee4170077a2b7563d0f3319e9a701e146
sha256
644c2c0c2cc87fd32c8bc36d23cb1c61e36ec14b3f4c392bb8fc22000e645a58
<?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;

\defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Image\ImageFilter;

/**
 * Image Filter class to add an edge detect effect to an image.
 *
 * @since  2.5.0
 */
class Edgedetect 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 edge detection filter.
		imagefilter($this->handle, IMG_FILTER_EDGEDETECT);
	}
}

The same content is in 42 releases, Joomla 4.0.1 to 4.2.0-beta2. See them all, or every version of this file.