GURUUMEDITATION

[responsive-menu menu="HamburgerMenu"]

Imaging SDK 1.1 : Bokeh

One of the novelties of the Imaging SDK 1.1 is the Bokeh effect (Wikipedia). I’ll talk about the effect as such. For the use of masks (KernelMap), this will be for the next article. The Bokeh effect is a kind of blur, with “spots” whose shape depends on the lens shape. An image (two, actually, considering it’s a comparison) will [...]

Imaging SDK 1.1 : Bokeh Kernel map

  The previous article was talking about the Bokeh effect itself, here I’ll talk about the Kernel map that can be applied to it. Basically, a Kernel map is a grayscale mask. Each level corresponds to a Kernel (255 is reserved for focus: this part of the image will not be blurred). That is why there is a constructor of the LensBlurEffect class [...]

Imaging SDK 1.1 : BlendFilter

Another novelty of the Imaging SDK 1.1 is the Blend effect, which is to blending two images (No surprises here). To be precise, it is not mandatory to mix two images, you can just use a mask to an image fade effect An example from the documentation: The steps: Load the background image Load (or generate, in my example after) the mask Create a FilterEffect [...]

Imaging SDK 1.1 : Foreground Segmenter

Another novelty of the Imaging SDK 1.1 is the Foreground Segmenter. This is an effect that allows to choose the front and the background of an image via Annotations. Annotations are colors. There are two: one for the foreground and another for the background. The idea is as follows: define roughly, using these two colors, the foreground and the background [...]

Windows Phone Company Hub : Checking version of installed apps

  This is a small folluw-up to my post about company hub. When getting the list of installed apps, it would be nice to know their version, so we could check if there is an upgrade and warn the user. There is indeed a way, and it is simple : just check the Id property on the package list you have. This property is a PackageId class where you can find [...]

No endpoints compatible with Silverlight 3 were found

Doing some Windows Phone 8 dev, I got a weird error some days ago. I was updating a WCF service reference when I got this : After breaking my head, the culprit was the Phone Toolkit (at least the version 4.2013.8.16). Just remove the Nuget package, update the reference then add the package again will do the trick. (more...)

Pomodoro!

Just released two new app. If you’re into the promoro technique, this is for you ! Pomodoro free for Windows 8  Pomodoro free for Windows Phone 8 If you have 0.99$ to spare, there are ad free versions too 😉 (more...)

Controlling Sphero using Windows Phone 8

  I went to the Bluetooth session at Build 2013 (http://channel9.msdn.com/Events/Build/2013/3-026). The session itself was so-so (only 30min, and not enough details for me) but we got a nice surprise at the end : the attendees (at least the firsts of them) will get a Sphero ! Sphero is a ball than can be controlled by Bluetooth. There are several [...]

MetroEvenToCommand v2.1

Just a quick update of MetroEventToCommand. Now it has a “HandleEvent” property. When true, it will set the event to Handled (providing the event args support it). Exemple : If the eventarg doesn’t have an Handled property, it will just do nothing. http://nuget.org/packages/MetroEventToCommand/ That’s [...]

Awaitable WCF calls with TaskCompletionSource

  A nice little gem of the TPL is the TaskCompletionSource. It creates a Task you can control from outside the task. Example : I create a new TaskCompetionSource : var tcs = new TaskCompletionSource(); I get the Task from it : tcs.Task I can set the Task result this way : tcs.TrySetResult(true); You can set an exception like this : tcs.TrySetException(new [...]