! : changed
+ : added
+July 21, 2011
+! [mickael] to follow last version of conformance data about component separator for pgx file, we changed - to _ separator even if nb component = 1
+
July 21, 2011
! [mickael] removed unused warning configuration message
name = (char*)malloc(total+1);
}
strncpy(name, outfile, dotpos);
- if (image->numcomps > 1) {
- sprintf(name+dotpos, "-%d.pgx", compno);
- } else {
+ //if (image->numcomps > 1) {
+ sprintf(name+dotpos, "_%d.pgx", compno);
+ /*} else {
strcpy(name+dotpos, ".pgx");
- }
+ }*/
fdest = fopen(name, "wb");
if (!fdest) {
fprintf(stderr, "ERROR -> failed to open %s for writing\n", name);