CoreFiles by mySites.guru
Emboss.php42 lines, 1,040 bytes, from Joomla_4.0.0-alpha6-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha5
md5
69a58f5ac218c7998bba730d174224fb
sha1
99c36041dd657fc296757ce860f81a2f770c1efc
sha256
60a79f6494ab4b610e0892727b9b46cab9bb58a789d049b211d36fccac5b2150
<?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;
use Joomla\CMS\Log\Log;

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

/**
 * Image Filter class to emboss an image.
 *
 * @since       1.7.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   1.7.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);
	}
}

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