CoreFiles by mySites.guru
Negate.php41 lines, 1,034 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
a8b0d7ba5204c2c45ef669aa6588dacb
sha1
0ad835f5de9b0161b93ab7c128c30688b942a277
sha256
b74008d4ff33911438400407f1b38f35035860cdd6f0bb1329fe0f043fe058ed
<?php
/**
 * @package     Joomla.Platform
 * @subpackage  Image
 *
 * @copyright   Copyright (C) 2005 - 2017 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('JImageFilterNegate is deprecated, use Joomla\Image\Filter\Negate instead.', \JLog::WARNING, 'deprecated');

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

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