Hello everyone,
I am in desparate need of help here. I suppose my question my sound simple, but i did not find any way to solve this problem.
I simply want to create an Image form my canvas, a screenshot. I want to take this image and save it to a file or display it in another window. I tried to use glreadPixels and pass the bytearray to ImageIcon(bytebuf) to create an imgage from that. I did not specify any header, but apart from that, something should have been created even if it looks messy.
I hope someone can help.
Thanks in advance,
Chris