-
Notifications
You must be signed in to change notification settings - Fork 215
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
Qt Image Render Aliasing / Offset #153
Comments
Also, there are times where the border is on top and bottom also, but in the current example, the 1-pixel border is on the left and right side. |
somewhat unrelated, but raqote's anti-aliasing looks noticeably worse, especially at the horizontal and vertical edge junctions. on the other hand, cairo and QT unnecessarily anti-alias/blend the left vertical edge. cc @jrmuizel |
Thanks for the info! Let me try integers and see how that works. |
raqote just uses 4x4 supersampling for it's antialaising. This quite a bit worse than what Cairo does, but is what Skia used for a long time before they switched to sometimes using analytic-aa. I'm not sure what Qt does. |
Closing it, since it's not a resvg bug. |
When rendering using Qt5, I noticed that Resvg seems to be adding an aliased border to the sides of SVG renders. I am attaching a screenshot of an example SVG file, rendered in both Inkscape and Resvg.
Here is the SVG file I used (zipped for GitHub):
drawing-2.svg.zip
In OpenShot, the effect of this rendering artifact is quite noticeable, causing transparent borders around some of our masks and transitions. Here is a snippet of the code we are using to render to a QImage:
@RazrFalcon I would love to hear your thoughts on this.
The text was updated successfully, but these errors were encountered: