0

I captured a screenshot of Minecraft Pi while I was playing it by pressing the "Prt Sc" button on my keyboard, but when I opened the image it shows the window with nothing in it: This happens with using GIMP's builtin screenshot function too.
There's no other window running in front of minecraft pi.

Glorfindel
  • 620
  • 1
  • 9
  • 16
algmwc4
  • 3
  • 4

1 Answers1

1

Minecraft-Pi does not create screen images the same way as "normal" apps do - it is optimized to work directly with the GPU outside of the normal Linux kernel routines. So the GUI has no knowledge of what Minecraft-Pi is projecting in the window (it only renders the window outline) and your screenshot mechanism reflects this.

You can also see the results of this "special" treatment when you open up another program when Minecraft Pi is running - the content of Minecraft-Pi shows up on top of the other program, without the borders of the window.

To make a screenshot of Minecraft-Pi, use the raspi2png program on GitHub. I have used this successfully in the past.

Phil B.
  • 5,053
  • 17
  • 30