Файл: vendor/intervention/image/src/Drivers/Gd/Modifiers/ProfileRemovalModifier.php
Строк: 32
<?php
declare(strict_types=1);
namespace InterventionImageDriversGdModifiers;
use InterventionImageInterfacesImageInterface;
use InterventionImageInterfacesSpecializedInterface;
use InterventionImageModifiersProfileRemovalModifier as GenericProfileRemovalModifier;
class ProfileRemovalModifier extends GenericProfileRemovalModifier implements SpecializedInterface
{
/**
* {@inheritdoc}
*
* @see ModifierInterface::apply()
*/
public function apply(ImageInterface $image): ImageInterface
{
// Color profiles are not supported by GD, so the decoded
// image is already free of profiles anyway.
return $image;
}
}