2 namespace wcf\system\image\adapter
;
5 * A memory aware image adapter is able to determine whether it is
6 * likely able to process an image within the process' memory limit.
8 * @author Tim Duesterhus
9 * @copyright 2001-2020 WoltLab GmbH
10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
11 * @package WoltLabSuite\Core\System\Image\Adapter
14 interface IMemoryAwareImageAdapter
extends IImageAdapter
{
16 * Returns whether it is believed that sufficient memory
17 * is available to process an image with the given properties.
19 * @param integer $width
20 * @param integer $height
21 * @param string $mimeType
24 public function checkMemoryLimit($width, $height, $mimeType);