-
Notifications
You must be signed in to change notification settings - Fork 77
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
GR.OPTION_FLIP_Y causes weird pixel spacing in drawimage #527
Comments
Could you please explain what the problem is? I tried the following example (with a real image) and could not see any problems: using GR
w, h, d = readimage("tiger.png")
setviewport(0, 1, 0, 1)
setwindow(0, 50, 0, 50)
setscale(GR.OPTION_FLIP_Y)
drawimage(0, 100, 0, 100, w, h, d)
updatews() |
jheinen
pushed a commit
to sciapp/gr
that referenced
this issue
Oct 11, 2023
This fixes GitHub issue <jheinen/GR.jl#527>.
@jusack Thanks for pointing us to this bug. We fixed the non-square pixels in C-GR commit b9aefa6, so (currently) you will need to use the latest GR runtime to get the fix. |
Awesome, thanks for the quick fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I encountered a weird bug in JuliaPlots/Plots.jl#4833 which I traced to the yflip parameter. I was able to reproduce it in a MWE using only GR. Do you have any idea, what might be the cause for the observed behavior? I am at version GR v0.72.10 and GR_jll v0.72.10+0
The text was updated successfully, but these errors were encountered: