mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-30 03:58:28 +00:00
📖 fix #307
This commit is contained in:
@@ -252,8 +252,8 @@ echo $qrcode->render($data);
|
||||
In some cases you might want to modify the QR image after creation (without crating a custom output class), in which case you want the internal image resource rather than the final output.
|
||||
|
||||
```php
|
||||
$options->outputType = QROutputInterface::IMAGICK;
|
||||
$options->returnResource = true;
|
||||
$options->outputInterface = QRImagick::class;
|
||||
$options->returnResource = true;
|
||||
|
||||
/** @var Imagick $imagick */
|
||||
$imagick = $qrcode->render($data);
|
||||
|
||||
Reference in New Issue
Block a user