-
-
Notifications
You must be signed in to change notification settings - Fork 571
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
Blending algorithm #42
Comments
It is a resizing issue (blending is how the colors mix). After playing with different canvas sizes, I think it's computing only some of the pixels in the line instead of using all of them (which is why ms paint creates a gradient). |
MS Paint in Win98/95, which is what jspaint is mainly a clone of, doesn't seem to support this, (you can try it here if you want: https://copy.sh/v86/?profile=windows98) |
Played with imageSmoothQuality to see if possible, but I couldn't quite get a clean gradient: |
@Mikejmoffitt points out selections are always scaled with nearest neighbor sampling. |
I don't really know the details, but mspaint allowed you to do gradients like this: http://www.nerdparadise.com/mspaint/lineargradient
which isn't possible in jspaint.
The text was updated successfully, but these errors were encountered: