Skip to content

Instantly share code, notes, and snippets.

@tobspr
Created September 9, 2013 16:57
Show Gist options
  • Save tobspr/7805de95cf8f174f2c55 to your computer and use it in GitHub Desktop.
Save tobspr/7805de95cf8f174f2c55 to your computer and use it in GitHub Desktop.
from panda3d.core import *
img = PNMImage(128,128, 1, (1<<16)-1)
img.fill(1)
img.write("result.tif") # application crashes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment