This project has moved and is read-only. For the latest updates, please go here.

Encode image and features list.

Nov 12, 2013 at 2:32 PM
Edited Nov 12, 2013 at 3:22 PM
Hi, I have three questions.
  1. How can I encode image ?
  2. Is there any features list what can I encode ?
  3. I have problem with encode VEvent.
QrCodeImage.Source = writer.Write("BEGIN:VCALENDAR\r\nBEGIN:VEVENT\r\n" +
                    "DTSTART:20140504T123456Z\r\n" +
                    "DTEND:20140505T234555Z\r\n" +
                    "END:VEVENT\r\nEND:VCALENDAR");
The generated QR code is text type like writer.Write("some normal text");.

I'm writing generate app for Windows Phone 8.
Nov 12, 2013 at 9:05 PM
  1. How can I encode image ?
    Please take a look at my answer in the following discussion:
    https://zxingnet.codeplex.com/discussions/458886
  2. Is there any features list what can I encode ?
    No, there is no feature list. You can encode every string data which fits into the size limitations of a qr code.
  3. I have problem with encode VEvent.
    There is no problem with you vEvent. Perhaps you should add a SUMMARY tag to get a name for your event.
    But mainly that's the way how it works. You can encode every string.
    The scanning application is responsible for the interpretation of the content.
    If you write your own decoding application you can use the ResultParser class to parse the resulting
    string data from a qr code into a vCard, vEvent or something different.