Skip to content

Corrected offset in ZoomBlurEffect#1125

Merged
cameronwhite merged 3 commits into
PintaProject:masterfrom
Lehonti:fix/zoom_blur_offset
Nov 14, 2024
Merged

Corrected offset in ZoomBlurEffect#1125
cameronwhite merged 3 commits into
PintaProject:masterfrom
Lehonti:fix/zoom_blur_offset

Conversation

@Lehonti
Copy link
Copy Markdown
Contributor

@Lehonti Lehonti commented Nov 13, 2024

Currently, when we use the zoom blur effect, the image fragments in a strange way (look at previous zoomblur2.png file, which I replaced).

If we change the offset to a PointD (which is treated differently by SimpleEffectDialog) and run the application, it becomes kind of obvious that any given axis of this offset was never meant to fall outside the [-1, 1] range.

@cameronwhite
Copy link
Copy Markdown
Member

Good catch 👍 this looks much better!

@cameronwhite cameronwhite merged commit 779d9fa into PintaProject:master Nov 14, 2024
@Lehonti Lehonti deleted the fix/zoom_blur_offset branch November 14, 2024 06:01
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.

2 participants