Type: Posts; User: yan_; Keyword(s):
Have you look/test the sample i've done in another thraed?
I've save live with filter and manage...
Imaging SDK haven't PNG output. So you haven't simple solution :/
You could generate an intermediare WriteableBitmp an use Cimbalino to generate the png file
StorageFileImageSource implement IImageProvider
So, You could pass it like a property
it's my question :)
It's interesting to make a preview with a low resolution picture and generate the final picture in full resolution with JpegRenderer.
what is InputImage and what is its size?
I've test your pipeline and result seem correct.
You need to find correspondance between ios filter SDK and Nokia Imaging SDK.
Which ios filter have you ever try to reproduct with Imaging SDK ?
Could you provide the ios effect code with your...
Which type of effect you try to used?
If you want camera preview, look here : http://developer.nokia.com/resources/code-sample/real-time-filter-demo
I've try to make a manger which manage IFilter, ICustomFilter, CustomFilterBase, SDK effect, ICustomEffect and CustomEffectBase.
PipelineManager have two functions
* Add = add an element in...
Yep, but GC can begin to deallocate managed class with lower memory used like it doesn't take in count native memory size. So, you can have a high memory used with more possibility to generate out of...
When the user allocate a class with IDsiposable, it should call dispose because garbage collector doesn't manage native memory. It's the role of Dispose function. It's the recommended...
This explain a lit of thinks :/
Why set the reference to null in destructor (called with dispose) not resolve reference cycle?
Personally, i thinks a weak reference is a bad solution here.
It's the idea :).
And you could extend the concept for IFilter with FilterEffect. when you add a filter
* if last element is a FIlterEffect => add filter in its IFilter array
* or create a...
C# can manipulate only C++/CX public sealed class. and its' public function and properties
So it's why a ask a few code. It's complicate to say you what is wrong. Your pseudo code is a C++ class not...
Could you make a sample? It should be more simple to help you.
Like that, i don't understand what you have do exactly...
If you manage a stack, it should be relatively simple :
* you can change the source of the first element
*you can use the last element with sevral renderer.
To display en real time you effect, you ha ve create a pipeline (classes between Image source and renderer). You could :
1- use a JpegRenderer to create a jpeg
2- create a new pipeline with...
I thinks you should look wp 8.1 API.
your code take a camera picture.
You need to apply effect on the captured picture before save it.
I've make 2 new customeffect which could help you :
GrayscaleToAlphaEffect : add alpha channel from a picture in grayscale. the alpha picture can be in color, i use ColorMode.Gray8 to load it....
look CSharp\Recipe\RecipeTemplate.cs and \ImagingSDKFIlterTemplate\Recipe\RecipeDaisyChain.cs
You can look this sample : http://1drv.ms/1jaOrSe
could you give more information??
You can't do it with a Filter.
But you could make a class which impelment IImageProvider, IImageConsumer and use it like XXXXEffect class. I have a sample if you want.
So, you manipulate the...