How to convert a texture to a bitmap?

Started by Zhangzqs, July 27, 2018, 05:16:05 PM

Previous topic - Next topic

Zhangzqs


EgonOlsen

I'm not sure what you mean? Which texture?

AeroShark333

I think he means a jPCT Texture instance...

I think blitting the Texture to a clear FrameBuffer and then using FrameBuffer.getPixels(..) would be one solution :)

EgonOlsen

Yes...but...why? If you have created a texture, you already have a bitmap...???