lumia-imaging-sdk

How to improve BlendEffect quality? Lumia Imaging 3.0 & UWP

ε祈祈猫儿з 提交于 2019-12-25 04:26:38
问题 I am developing an app that put text into a background image. The textblocks are placed on a canvas control as children and I render the canvas to PNG. Then I use the BlendEffect to blend it with a background image. UPDATE This post is specifically about chaining effects with Lumia Imaging SDK. Unfortunately one of the person who commented was having a tunnel vision and insist that I must learn about the difference between lossy and lossless image. An opinion as useful as telling a kid how to

flipped images with front camera for wp8

泪湿孤枕 提交于 2019-12-13 03:38:09
问题 I am using lumia imaging sdk for my windows phone app. I mainly use the front camera for it. Also am using the VideoBrush to capture the images. When I am trying to take picture with front camera, it works perfectly but when the image is captured, the image is flipped and saved(like a mirror effect). <Canvas x:Name="VideoCanvas" Width="480" Height="640" RenderTransformOrigin="0.5,0.5"> <Canvas.RenderTransform> <CompositeTransform ScaleX="-1"/> </Canvas.RenderTransform> <Canvas.Background>

nokia Imaging SDK customize BlendFilter

穿精又带淫゛_ 提交于 2019-12-12 01:14:35
问题 I have created this code Uri _blendImageUri = new Uri(@"Assets/1.png", UriKind.Relative); var _blendImageProvider = new StreamImageSource((System.Windows.Application.GetResourceStream(_blendImageUri).Stream)); var bf = new BlendFilter(_blendImageProvider); Filter work nice. But I want change image size for ForegroundSource property. How can I load image with my size? 回答1: If I understood you correctly you are trying to blend ForegroundSource with only a part of the original image? That is

CameraPreviewImageSource empty preview frame

风格不统一 提交于 2019-12-08 07:50:47
问题 I made cut and paste of the code below about how to use CameraPreviewImageSource and access to preview buffer frames, but do not work and it seems the frame buffer size is 0x0 reading the value of IImageSize parameter of OnPreviewFrameAvailable event. How to get preview buffer of MediaCapture - Universal app protected override void OnNavigatedTo(NavigationEventArgs e) { InitializeAsync(); } public async void InitializeAsync() { _cameraPreviewImageSource = new CameraPreviewImageSource(); await

CameraPreviewImageSource empty preview frame

£可爱£侵袭症+ 提交于 2019-12-07 04:56:29
I made cut and paste of the code below about how to use CameraPreviewImageSource and access to preview buffer frames, but do not work and it seems the frame buffer size is 0x0 reading the value of IImageSize parameter of OnPreviewFrameAvailable event. How to get preview buffer of MediaCapture - Universal app protected override void OnNavigatedTo(NavigationEventArgs e) { InitializeAsync(); } public async void InitializeAsync() { _cameraPreviewImageSource = new CameraPreviewImageSource(); await _cameraPreviewImageSource.InitializeAsync(string.Empty); var properties = await

Nokia Imaging SDK problems with EditingSession Class

女生的网名这么多〃 提交于 2019-12-04 05:23:33
问题 I am trying to learn the Nokia Imaging SDK by going through the examples at developer.nokia.com and several other sites. Most of the examples tell to use this EditingSession class which is a part of Nokia Imaging SDK. But when I'm trying to use it I get the following error. The type or namespace name 'EditingSession' could not be found (are you missing a using directive or an assembly reference? I have included all the libraries correctly through NuGet Packages. Where am I going wrong? 回答1:

Lumia Imaging SDK image blending creates separation lines

对着背影说爱祢 提交于 2019-12-02 10:59:12
问题 I'm trying to create a tiled background using the Lumia Imaging SDK's JpegTools.BlendAsync() method. I call the method in a loop to merge all the tiled images. The approach works but the there are unwanted lines in the output image. These separation lines appear at the boundaries of the single tile image; the merging is not clean. My code is attached. Am I doing something wrong logically or this is a bug in the SDK? bitmapSource is the single tile, jpegSource is the empty layout which is

Lumia Imaging SDK image blending creates separation lines

左心房为你撑大大i 提交于 2019-12-02 03:39:24
I'm trying to create a tiled background using the Lumia Imaging SDK's JpegTools.BlendAsync() method. I call the method in a loop to merge all the tiled images. The approach works but the there are unwanted lines in the output image. These separation lines appear at the boundaries of the single tile image; the merging is not clean. My code is attached. Am I doing something wrong logically or this is a bug in the SDK? bitmapSource is the single tile, jpegSource is the empty layout which is populated by the tile, and bgSize is the size of the dimensions of the background. async private static