mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-08 04:46:04 +00:00
:octocat: add mime type guesser to QROutputAbstract (#223)
This commit is contained in:
@@ -56,7 +56,7 @@ class QRImagickWithLogo extends QRImagick{
|
||||
$this->saveToFile($imageData, $file);
|
||||
|
||||
if($this->options->outputBase64){
|
||||
$imageData = $this->toBase64DataURI($imageData, $this->guessMimeType($imageData));
|
||||
$imageData = $this->toBase64DataURI($imageData);
|
||||
}
|
||||
|
||||
return $imageData;
|
||||
|
||||
Reference in New Issue
Block a user