Menu
  • HOME
  • TAGS

How to 'translate' Windows Phone ExposureCompensation range into EV units?

c#,windows-phone-8,nokia-imaging-sdk,lumia-imaging-sdk

Documentation say "This property lets you make adjustments to the exposure time in units of one-sixth of an EV" So it should be EV = V /6.0 where v is your int value.

How to workaround missing ActivatableAttribute for a class

c#,windows-phone-8.1,lumia-imaging-sdk

I had the same problem. Here is working solution. Add these lines to the Package.appxmanifest manually (use any text editor): <Extensions> <Extension Category="windows.activatableClass.inProcessServer"> <InProcessServer> <Path>Lumia.Imaging.dll</Path> <ActivatableClass ActivatableClassId="Lumia.Imaging.RandomAccessStreamImageSource" ThreadingModel="both" /> </InProcessServer> </Extension> </Extensions> before </Package> Make sure that your main (executable) library has...

How to resize an image using Lumia Imaging SDK?

windows-phone-8.1,lumia-imaging-sdk

You should set the Size property on the renderer. That will resize the image to the size you want. Looking at the JpegRenderer (https://msdn.microsoft.com/en-us/library/lumia.imaging.jpegrenderer_members.aspx) set the Size to what you want the size to be. In addition you can set the OutputOption property (https://msdn.microsoft.com/en-us/library/lumia.imaging.outputoption.aspx) if you want the contents to...

Exception When Rendering an Image Using Lumia Imaging SDK

windows-runtime,windows-phone-8.1,lumia-imaging-sdk

You should enable native debugging and look at the Output window. You're currently missing the real exception message (which tries to be more specific). Exception message strings are "smuggled" across the WinRT call border, only an HRESULT is officially passed (here, E_FAIL). Is this Silverlight 8.1 or a Universal App...

How to encode IImageProvider as a PNG image?

windows-phone-8.1,png,windows-8.1,win-universal-app,lumia-imaging-sdk

Lumia Imaging SDK supports PNG images as input, however there isn't a "PNG Renderer" avaliable in the SDK. Luckily if you are developing for Windows 8.1 (StoreApplication / universal application / Windows phone 8.1 project) there is a Windows encoder (Windows.Graphics.Imaging.BitmapEncoder) you can use. Assuming the IImageProvider you want to...

Lumia Imaging GifRenderer Never Returns

c#,windows-phone-8.1,lumia-imaging-sdk

Alright, I figured it out. It wasn't specifically something with the Lumia library. It was a deadlock caused by a Dispatch Timer. I'm really not sure what that mattered since shouldn't be on the UI thread when it's asynchronous, but it works if I stop the Dispatch Timer, run the...

CameraPreviewImageSource empty preview frame

windows-phone-8.1,win-universal-app,lumia-imaging-sdk,nokia-imaging-sdk

I am afraid you are (were) seeing a bug in Lumia Imaging SDK 2.0.184. The problem only occured on some camera models and only on 8.1/universal applications. Silverlight applications were not affected by the problem. The bug has been fixed in the newly released Lumia Imaging SDK 2.0.208. From release...

Lumia Imaging SDK device support

windows-phone-8.1,lumia-imaging-sdk

Lumia Imaging SDK is device independent. It will work on all devices with the supported operating system. That means it will work on all devices running: Windows Phone 8.0 Windows Phone 8.1 Windows 8.1 ARM Windows 8.1 x86/x64 -- as long as it is a "store"/modern application Windows 10 (Windows...