Once I've generated the textures I need via my code, what's the easiest way to transfer that array to a usable texture graphic which jPCT can use? I assume for a .bmp, I just need to reverse the array so it's "upside down" and then add a header? Or is it best to use premade conversion code from a library? Or am I way off base...?