×

Discussion Board

Search:

Type: Posts; User: cadahl; Keyword(s):

Search: Search took 0.03 seconds; generated 44 minute(s) ago.

  1. Re: How to re size source image in custom filter effect?

    (edited with 1.2 info)

    In version 1.2 and above:

    BlendFilter has a new property "TargetArea". This lets you position/scale the foreground source. So a your background, use a ColorImageSource...
  2. Re: Creating CustomEffect in C++, NullReferenceException

    Happy to help! If I recall correctly, only the Delegating* family of classes use weak references in this way. So that adds DelegatingImageSource to the two others you mentioned.
  3. Replies
    6
    Views
    4,154

    Re: How to convert CustomEffectBase to IFilter?

    http://www.nuget.org/packages/NokiaImagingSDK/

    It's available via nuget, but you have to choose to include prereleases to see it.
  4. Re: Creating CustomEffect in C++, NullReferenceException

    Actually, not calling dispose on an IDisposable does not guarantee a leak of native resources, and this has never been a "norm" in .NET. Classes implementing IDisposable usually have a finalizer that...
  5. Replies
    2
    Views
    3,458

    Re: Get error in renderer.renderasync()

    Btw, if you can avoid WriteableBitmap, please do. It is inherently tied to the UI thread which means that WriteableBitmapRenderer has to synchronize across threads (slower), and you have to be...
  6. Replies
    6
    Views
    4,154

    Re: How to convert CustomEffectBase to IFilter?

    Check out the 1.2 beta, which includes a mechanism for making custom filters. You inherit from CustomFilterBase instead of CustomEffectBase, and some setup is different but it should generally be...
  7. Re: Creating CustomEffect in C++, NullReferenceException

    Simply because we can't require the user to remember to Dispose, this would lead to many more developers having problems. That being said, the documentation of the SDK is fairly C# centered so far.....
  8. Re: Creating CustomEffect in C++, NullReferenceException

    Here's the snag I think you've hit (OP at least):

    DelegatingEffect holds a weak reference to the passed ICustomEffect. Because ICustomEffect can be implemented by the class that also references...
Results 1 to 8 of 8
×