You can do this by directly drawing to a scene with the pixel camera projection:
x = rand(300, 400)
scene = Scene(camera=campixel!, resolution=size(x))
heatmap!(scene, x)
save("out.png", scene)
You can do this by directly drawing to a scene with the pixel camera projection:
x = rand(300, 400)
scene = Scene(camera=campixel!, resolution=size(x))
heatmap!(scene, x)
save("out.png", scene)