I’m trying to display a fullscreen image in GLMakie, but it isn’t working. I’m running the following code:
using GLMakie
GLMakie.activate!(decorated=false, fullscreen=true)
w, h = 2560, 1080 # my monitor's resolution
img = rand(UInt8, w, h)
fig = Figure(size=(w, h), figure_padding=0)
ax = Axis(fig[1, 1], aspect=DataAspect())
hidedecorations!(ax)
heatmap!(ax, img, colormap=:greys)
fig
The fullscreen
keyword has simply no effect. Is it a bug or am I doing something wrong?
The output from versioninfo()
is
Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 16 × 12th Gen Intel(R) Core(TM) i5-12600K
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, alderlake)
Threads: 16 default, 0 interactive, 8 GC (on 16 virtual cores)
Environment:
JULIA_EDITOR = code
and my enviroment has only GLMakie v0.10.5
.
Thanks in advance for any help!