Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
How to convert a texture to a bitmap?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to convert a texture to a bitmap? (Read 2568 times)
Zhangzqs
byte
Posts: 2
How to convert a texture to a bitmap?
«
on:
July 27, 2018, 05:16:05 pm »
How to convert a texture to a bitmap?
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: How to convert a texture to a bitmap?
«
Reply #1 on:
July 30, 2018, 09:44:38 am »
I'm not sure what you mean? Which texture?
Logged
AeroShark333
float
Posts: 320
Re: How to convert a texture to a bitmap?
«
Reply #2 on:
July 30, 2018, 09:09:34 pm »
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
Logged
My Minecraft skin viewer app:
https://play.google.com/store/apps/details?id=com.aeroshark333.skinviewer
EgonOlsen
Administrator
quad
Posts: 12297
Re: How to convert a texture to a bitmap?
«
Reply #3 on:
July 31, 2018, 09:14:04 am »
Yes...but...why? If you have created a texture, you already have a bitmap...
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
How to convert a texture to a bitmap?