Skip to content
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

Issue with saving campixel png with GLMakie #4794

Open
jebej opened this issue Feb 14, 2025 · 0 comments
Open

Issue with saving campixel png with GLMakie #4794

jebej opened this issue Feb 14, 2025 · 0 comments
Labels

Comments

@jebej
Copy link

jebej commented Feb 14, 2025

  • GLMakie v0.11.2
  • fresh temporary environment
    -Windows 10 with Nvidia GPU
using GLMakie
x = rand(30, 40); x[1:3,1:3] .= 1.0 # to help see what is happening
scene = Scene(camera=campixel!, size=size(x))
heatmap!(scene, x)
save("out.png", scene, size=size(x))
heatmap(x) # to compare

This issue is probably related to issue #4793 but the result is somewhat different, and specific to GLMakie. Here as well the png output looks clipped at the top and right edges, but even more importantly the values are all wrong and look like they were all interpolated from on row to the next...

left, png opened in paint.net, right, GLMakie viewer:
Image

@jebej jebej added the bug label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant