PNMImage - crash when writing 16bit grayscale tif

Bug #1222922 reported by Tobias Springer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panda3D
Fix Released
Undecided
rdb

Bug Description

The following code fails for me (Panda3D 1.9.0 custom build, also with Panda3D 1.9.0 and Panda3D 1.8.1):

https://gist.github.com/tobspr/7805de95cf8f174f2c55

Revision history for this message
David Rose (droklaunchpad) wrote :

This is true, we do not currently support 16-bit images via TIFF. Patches welcome. In the meantime, you can write out 16-bit PNG files successfully.

Changed in panda3d:
status: New → Confirmed
Revision history for this message
rdb (rdb) wrote :

It isn't supposed to crash, though. I checked in a fix on the 1.9 branch (will merge this weekend, hopefully). It now just silently downsamples to 8-bit.

summary: - PNMImage - Cannot write 16bit grayscale tif
+ PNMImage - crash when writing 16bit grayscale tif
Changed in panda3d:
assignee: nobody → rdb (rdb)
milestone: none → 1.9.3
status: Confirmed → Fix Committed
rdb (rdb)
Changed in panda3d:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.