Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SKFilteredImage and related #103

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Add SKFilteredImage and related #103

wants to merge 6 commits into from

Conversation

mattleibow
Copy link
Contributor

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

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 mattleibow marked this pull request as draft August 20, 2023 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant