CoreFiles by mySites.guru
Emboss.php38 lines, 747 bytes, from Joomla_4.0.0-Stable-Full_Package.zip
Raw History Compare with 3.10.12
md5
ec820b4a3505d3791a71948d32f69841
sha1
9e50ce83bdf40406e31a11430d8cca34d7210712
sha256
179a1902a6e51d44e04700555c178bf5a29be8bacbf8b717878832cdaf4ffef8
<?php
/**
 * @package     Joomla.Platform
 * @subpackage  Image
 *
 * @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 emboss an image.
 *
 * @since  2.5.0
 */
class Emboss 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 emboss filter.
		imagefilter($this->handle, IMG_FILTER_EMBOSS);
	}
}

The same content is in 9 releases, Joomla 4.0.0-beta6 to 4.0.0. See them all, or every version of this file.