-
Notifications
You must be signed in to change notification settings - Fork 13
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
The quality of the png output of vector plots is 'disappointing' (2.8.0) #187
Comments
@jypeter thanks for continuing to generate these issues.. I have been using some of the nightly builds and many of my standing issues have been resolved.. Hopefully when the |
@danlipsa opengl2 would help here? |
@doutriaux1 It should. We should be able to do this with OpenGl1 as well. Its about turning antialiasing on when rendering and/or tracking why its not turned on if we already do that. |
@danlipsa @doutriaux1 I'd be happy to provide some feedback in-house on this.. I always prefer to generate vector graphics as the default output format |
@doutriaux1 That's what I thought as well. Looking at the plot it seems that the text is antialiased but the arrows are not. @jypeter @durack1 This is as if the png was saved with a certain resolution and then downsampled. How does a vector image look on the screen? What if the png is saved with the same resolution as the screen. Do you still have the problem? |
I'll try to remember checking that in 2.10 when I'm finished backing up my VM. If I can't do that before the bus leaves, and then I'm away till Monday |
@doutriaux1 Maybe this has already been improved in the latest version...
I have generated pdf and png output, using the script in #185, and I hope you can improve the png rendering! The image below is a screendump of the pdf (displayed with Acrobat Pro) and the png (displayed with XnView), put side by side. png (on the right) is displayed at 100% and I have resized the pdf (on the left) to get roughly the same size
It looks as if the png image had been rendered in 2 color (B/W) without any anti-aliasing :( At least the data area of the plot. The text outside looks ok
Or is there something wrong with my setup (I'm using 2.8.0 on a remote server, to which I'm connected from a Linux running in VirtualBox) or this is linked to the black-png problem? The vectors look a bit nicer on https://uvcdat.llnl.gov/examples/Clim_JJA_850mb_rh_ts_gph.html, but I don't have the data to reproduce it on my machine (CDAT/cdat.github.io#137)
This is a bit frustrating, because I have been trying to make a good quality plot since yesterday and I ended up creating several issues. I would think that having user proof 2D vector plots comes before the streamlines :/
The text was updated successfully, but these errors were encountered: