This project is read-only.

How to save qrCodeImgControl1 as an image ?

Mar 18, 2013 at 11:05 AM
I just used QRCode for my App.
I can show the QR Code with my button event, but how can i save that Code as an Image ?
Sorry for my bad English :(
Mar 18, 2013 at 11:10 AM
Oh, sorry , i find out the way to save as an image file.
Sorry ^^
Mar 18, 2013 at 6:29 PM
I'm not sure if you are using the correct way of saving image file.

For QrCode Controller that our library provides, it can extract bit matrix. Use that bit matrix and dump into any renderer, it can help you to save as image file.

Image file include normal image, and vector image (EPS for adobe and SVG for web).

Here is link to one of renderer that focus on WPF environment to save normal image file. While EncapsulateRenderer and SVGRenderer are both for vector image.

Download source code, there are some examples.
Mar 19, 2013 at 2:59 AM
Thanks Silverlancer(nice name) for replying me .
i simply do like this : qrCodeImgControl1.Image.Save("demo.jpg");
It's totally wrong ?
Mar 19, 2013 at 6:34 AM
Edited Mar 19, 2013 at 6:55 AM
Image control should be alright.

The only problem will be that you can not control size, nor you can create any vector image. But if that's not your goal, don't worry then. :)
Mar 19, 2013 at 8:16 AM
^^, Thank you Silverlancer !
I wiil note your hint :)
Mar 7, 2014 at 1:22 PM

I'm trying to extract bit matrix..but I can' silverlight ... help me please