Files
php-qrcode/tests/Output/QRGdImageJPGTest.php
T
2025-11-02 00:48:56 +01:00

31 lines
782 B
PHP

<?php
/**
* Class QRGdImageJPGTest
*
* @created 11.12.2021
* @author smiley <smiley@chillerlan.net>
* @copyright 2021 smiley
* @license MIT
*/
declare(strict_types=1);
namespace chillerlan\QRCodeTest\Output;
use chillerlan\QRCode\QROptions;
use chillerlan\QRCode\Data\QRMatrix;
use chillerlan\QRCode\Output\{QRGdImageJPEG, QROutputInterface};
use chillerlan\Settings\SettingsContainerInterface;
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
#[RequiresPhpExtension('gd')]
final class QRGdImageJPGTest extends QRGdImageTestAbstract{
protected function getOutputInterface(
SettingsContainerInterface|QROptions $options,
QRMatrix $matrix,
):QROutputInterface{
return new QRGdImageJPEG($options, $matrix);
}
}