I am trying to dump the contents of a Canvas that was drawn using a Bufferstrategy to a BufferedImage using the following code I found on the net:
but the returned image is blank/black and does not contain the drawing that appears on the Canvas. I'm guessing this technique isn't correct when using a BufferStrategy. Is that true? If not how would I go about getting the results I desire?
Conformity is the jailer of freedom and the enemy of growth.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Canvas to BufferedImage while using Bufferstrategy