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

Issue with background image colors after blurring #111

Open
cjbassi opened this issue Mar 9, 2018 · 4 comments
Open

Issue with background image colors after blurring #111

cjbassi opened this issue Mar 9, 2018 · 4 comments
Assignees
Labels

Comments

@cjbassi
Copy link

cjbassi commented Mar 9, 2018

Some colors become much darker when blurred and also some colors become completely altered. I'm curious if anyone else has these issues but I could post pics if needed. For an example of the darkening, white backgrounds seem to be okay overall like in the example gif in the README, but if you use the locker on this image, it becomes more noticeable. And color changing issues are noticeable here. I assume this is an issue with imagemagick but I thought I would start here.

@PandorasFox
Copy link
Contributor

I believe that's a general problem with some sorts of hardware-accelerated blurs and it's one of the tradeoffs with speed vs accuracy, but I might be misremembering.

@meskarune meskarune added the bug label Apr 30, 2018
@meskarune meskarune self-assigned this Apr 30, 2018
@meskarune
Copy link
Owner

I will have a look and try to test. Right now the script darkens using transparent black when the background is above a certain brightness threshold, then blurs. Maybe the order of steps needs to change or maybe it is an issue with image magick and blurring in general.

@alimoabd2127
Copy link

I have this issue as well and can provide some examples. Here are the locked and unlocked images.

@meskarune
Copy link
Owner

The script is supposed to darken the background when it blurs, so that is intentional, but it wouldn't be normal if there are major color changes like purple to blue for example.

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

4 participants