View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004091||Slicer4||Core: Base Code||public||2015-11-20 06:47||2015-11-30 11:53|
|Reporter||Erich Bremer||Assigned To||jcfr|
|Product Version||Slicer 4.5.0-1|
|Target Version||Fixed in Version|
|Summary||0004091: Cannot save label maps as png or jpg|
When selecting png or jpg for label maps in File->Save, the system will say that it cannot write those files. It does, however, work fine for tif.
|Tags||No tags attached.|
Error on the terminal (does show up in the error log):
For the Stonybrook project we need to support IO for PNG and/or TIFF. This instance seems to be a case of needing to cast the image to be saved, and to give better feedback to the user.
Digging into this issue, I found one bug in the volumes reader in that it was returning an improperly formatted string list of supported extensions, so PNG files weren't registered as supported.
This topic branch adds a load, convert to greyscale, cast, edit, save test for a PNG file in the Stonybrook example data set online. It also fixes the volume file extensions bug as well as a copy paste one in the volumes logic:
|2015-11-20 06:47||Erich Bremer||New Issue|
|2015-11-20 06:47||Erich Bremer||Status||new => assigned|
|2015-11-20 06:47||Erich Bremer||Assigned To||=> jcfr|
|2015-11-20 07:18||nicole||Note Added: 0013637|
|2015-11-20 09:12||nicole||Note Edited: 0013637|
|2015-11-30 11:53||nicole||Note Added: 0013648|