[Writers] - Issue while writing images with no extension
Posted: Wed Jul 02, 2008 4:51 pm
Hello Denis,
since I implemented the writeFrame method for the writer of tiff format plugin, files that do not have extensions are automatically generated in tiff format and not in GIS anymore.
The issue occurs because tiff plugin format is registered before the GIS format in the format map and found first during the call to the Finder::check() method (//depot/aimsdata/3.1/src/aimsdata/io/finder.cc - perforce version 1 - line 348).
To fix this issue, I think we need to add finder priority for formats (and GIS will have the highest priority value). According to you, is it a good idea to implement this ? Do you think that another solution would be better ?
It is possible to view the issue using the following command :
AimsFileConvert -i test.ima -o output_test
Nico
since I implemented the writeFrame method for the writer of tiff format plugin, files that do not have extensions are automatically generated in tiff format and not in GIS anymore.
The issue occurs because tiff plugin format is registered before the GIS format in the format map and found first during the call to the Finder::check() method (//depot/aimsdata/3.1/src/aimsdata/io/finder.cc - perforce version 1 - line 348).
To fix this issue, I think we need to add finder priority for formats (and GIS will have the highest priority value). According to you, is it a good idea to implement this ? Do you think that another solution would be better ?
It is possible to view the issue using the following command :
AimsFileConvert -i test.ima -o output_test
Nico