mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fixed margin value, add png compression
This commit is contained in:
@@ -383,8 +383,10 @@ App::get('/v1/avatars/qr')
|
||||
|
||||
$download = ($download === '1' || $download === 'true' || $download === 1 || $download === true);
|
||||
$options = new QROptions([
|
||||
'quietzone' => $size,
|
||||
'outputType' => QRCode::OUTPUT_IMAGICK
|
||||
'addQuietzone' => true,
|
||||
'quietzoneSize' => $margin,
|
||||
'outputType' => QRCode::OUTPUT_IMAGICK,
|
||||
'pngCompression' => 9,
|
||||
]);
|
||||
|
||||
$qrcode = new QRCode($options);
|
||||
|
||||
Reference in New Issue
Block a user