CoreFiles by mySites.guru
Emboss.php41 lines, 1,018 bytes, from Joomla_4.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha2
md5
e05ddbf2a73c5b7e17d8f8030372c949
sha1
8d7d07c03946d6efe52decdf921e74461f34ce40
sha256
95acb66374e82178450a558215c5938fe9a0b546b35c9ac03b357207db7097db
<?php
/**
 * @package     Joomla.Platform
 * @subpackage  Image
 *
 * @copyright   Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @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;

\JLog::add('JImageFilterEmboss is deprecated, use Joomla\Image\Filter\Emboss instead.', \JLog::WARNING, 'deprecated');

/**
 * Image Filter class to emboss an image.
 *
 * @since       11.3
 * @deprecated  5.0  Use Joomla\Image\Filter\Emboss instead
 */
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   11.3
	 * @deprecated  5.0  Use Joomla\Image\Filter\Emboss::execute() instead
	 */
	public function execute(array $options = array())
	{
		// Perform the emboss filter.
		imagefilter($this->handle, IMG_FILTER_EMBOSS);
	}
}

No other release has this exact content. See every version of this file.