Basically I'm trying to send an image (as bytes) from the server to the client, but the NativeImage.read call causes "Out of stack space."
I'm assuming that this is because the file is 210KB, larger than LWJGL's default limit of 64KB. Is there any way around this? My current code is simple:
NativeImageBackedTexture nativeImageBackedTexture = new NativeImageBackedTexture(NativeImage.read(payload.image()));