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

Overlay/ blur partial part #41

Open
durlabhjain opened this issue Apr 18, 2020 · 2 comments
Open

Overlay/ blur partial part #41

durlabhjain opened this issue Apr 18, 2020 · 2 comments
Labels

Comments

@durlabhjain
Copy link

Is there a way to apply a partial overlay or blue partial part in the image? I've a unique case where we have to hide/ cut out a specific area in an image. Currently we are using System.Drawing to draw an overlay with partial transparency. However, it'll be great if we can move away from it. May be gaussian blur can be used as a base as long as we can specify x/ y point and radius.

@saucecontrol
Copy link
Owner

This is possible, but the API isn't suited for that type of operation, so it's not easy to do as of now.

I have plans to introduce a high-performance compositing filter that makes it easier to use MagicScaler to implement things like watermarks. I'll leave this issue open, as I'm interested in collecting use cases around minimal image manipulation to inform that design.

In the meantime, I think most image editing tasks are probably better done in libraries like SkiaSharp or ImageSharp, which are designed more around those scenarios. I'll be working up some integration samples that show how to get the best of MagicScaler while leveraging other libraries for missing functionality.

@redwo1f
Copy link

redwo1f commented Feb 19, 2021

I would like to see watermark ability as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants