SkiaSharp.Extended icon indicating copy to clipboard operation
SkiaSharp.Extended copied to clipboard

Add SKFilteredImage and related

Open mattleibow opened this issue 3 years ago • 0 comments

Description of Change

This is an mage view that has a filter/rendering pipeline that can allow for more exciting images:

<controls:SKFilteredImage HeightRequest="200">
    <media:SKFilterPipeline Source="{Binding Image}">
        <media:SKInvertFilter />
        <media:SKBlurFilter SigmaX="6" SigmaY="6" />
        <media:SKSepiaFilter />
        <media:SKHighContrastFilter Factor="0.5" />
    </media:SKFilterPipeline>
</controls:SKFilteredImage>

Even though this is right now a new view, I also want to make this into an ImageSource for a one-time render for any image view control or ImageSource property.

Original Filtered
image image

Bugs Fixed

  • Related to issue #96

API Changes

Behavioral Changes

PR Checklist

  • [ ] Has tests (if omitted, state reason in description)
  • [ ] Has samples (if omitted, state reason in description)
  • [ ] Rebased on top of main at time of PR
  • [ ] Changes adhere to coding standard
  • [ ] Updated documentation

mattleibow avatar Sep 17 '20 11:09 mattleibow