added raw png buffer to qr callback