Search code examples
javascriptwindows-runtimewindows-phone-8.1winjs

WriteableBitmap equivalent for Windows Library for Javascript


I want to use WriteableBitmap in my Javascript, but can't find it.
Does somebody know if there is an equivalent? I can't find any information on the Web.
I am developing for Windows Phone 8.1

I do capture a QrCode with help of the camera, save the picture as jpeg and want to decode it.

ZXing Example


Solution

  • It depends on what you want to do. The Windows.Graphics.Imaging namespace has most of the image manipulations you may want to use: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/windows.graphics.imaging.aspx And there is a sample for manipulating images here: http://code.msdn.microsoft.com/windowsapps/Simple-Imaging-Sample-a2dec2b0/sourcecode?fileId=44000&pathId=1293870845

    Does that help?

    -Jeff