You can do that with QR code font or QR code library. Open sources are not difficult to get on Google. For what I know, numeric data, alphanumeric data, byte datade and Kanji character can be encoded into a QR code image. I don't think images can be convertd into it.