aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/chillerlan/php-qrcode/src/Output/QRGdImageGIF.php
blob: a02130907d08ca5de1bbaa244890ece04b4bf5fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/**
 * Class QRGdImageGIF
 *
 * @created      25.10.2023
 * @author       smiley <smiley@chillerlan.net>
 * @copyright    2023 smiley
 * @license      MIT
 *
 * @noinspection PhpComposerExtensionStubsInspection
 */

namespace chillerlan\QRCode\Output;

use function imagegif;

/**
 * GdImage gif output
 *
 * @see \imagegif()
 */
class QRGdImageGIF extends QRGdImage{

	public const MIME_TYPE = 'image/gif';

	/**
	 * @inheritDoc
	 */
	protected function renderImage():void{
		imagegif($this->image);
	}

}