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

Missing possibility to parameterize antialiasing used in image compression #92

Open
thisisthekap opened this issue Apr 1, 2022 · 1 comment · May be fixed by #95
Open

Missing possibility to parameterize antialiasing used in image compression #92

thisisthekap opened this issue Apr 1, 2022 · 1 comment · May be fixed by #95

Comments

@thisisthekap
Copy link

Some images need specific settings when compressing (like circles which may appear pixelated).

@thisisthekap
Copy link
Author

Antialiasing may be enabled when creating the SkiaSharp SKPaint instance:

Paint = new SKPaint
{
ColorFilter = SKColorFilter.CreateBlendMode(color, SKBlendMode.SrcIn)
};

Can we think of any drawbacks (expect for resize performance) when enabling antialiasing by default?

If enabling it by default is a viable option, I'd be happy to do a PR for it.

@thisisthekap thisisthekap linked a pull request Apr 26, 2023 that will close this issue
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 a pull request may close this issue.

1 participant