How to save qrCodeImgControl1 as an image ?

Mar 18, 2013 at 10: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 10:10 AM
Oh, sorry , i find out the way to save as an image file.
Sorry ^^
Coordinator
Mar 18, 2013 at 5: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).

http://qrcodenet.codeplex.com/wikipage?title=DrawingBrushRenderer&referringTitle=Renderer

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 1:59 AM
Thanks Silverlancer(nice name) for replying me .
i simply do like this : qrCodeImgControl1.Image.Save("demo.jpg");
It's totally wrong ?
Coordinator
Mar 19, 2013 at 5:34 AM
Edited Mar 19, 2013 at 5: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 7:16 AM
^^, Thank you Silverlancer !
I wiil note your hint :)
Mar 7, 2014 at 12:22 PM
Hi:

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