-
Notifications
You must be signed in to change notification settings - Fork 92
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
Able to motion blur images that have transparency? #2
Comments
I think the issue may lie in the PNG image. Could you try drawing the same letter in code, using Core Graphics? |
Closing because of lack of response. |
Hey @dene22 and @fastred, have you found any solution to this? |
@sarperdag No, I didn't. Can you provide a sample project showing this error? |
@fastred @dene22 Here's a sample project showing the problem https://dl.dropboxusercontent.com/u/1124427/TransparentMotionBlur.zip |
It looks like the issue lies in the filter: https://github.com/fastred/MotionBlur/blob/master/Classes/MotionBlurFilter.m I don't have any quick ideas how to fix it, so I'll appreciate any help from you! |
@fastred Did you write the motion blur code yourself or got it from somewhere else? |
The answer is on my blog:
|
I'm using a PNG with transparent and semi-transparent parts. These non-opaque parts become darkened when the motion blur is applied.
I hope this can be solved - it's very useful.
Best wishes,
Dene
The text was updated successfully, but these errors were encountered: