Extract from github.com/publysher/qrcoded