PeteyMi / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

opj_decompress and multiple pgm #278

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Since r189 PGM files are written out using:

   189   descampe       char name[256];
   189   descampe       if (ncomp > 1) {
   189   descampe         sprintf(name, "%d.%s", compno, outfile);
   189   descampe       } else {
   189   descampe         sprintf(name, "%s", outfile);
   189   descampe       }

Which means the the following:

$ opj_decompress "-i" data/input/conformance/a6_mono_colr.j2c" "-o" /tmp/bla.ppm

will try to write the following file: "0./tmp/bla.ppm"

Original issue reported on code.google.com by mathieu.malaterre on 10 Mar 2014 at 10:34

GoogleCodeExporter commented 9 years ago
Fixed in r2661. closing

Original comment by mathieu.malaterre on 10 Mar 2014 at 10:52

GoogleCodeExporter commented 9 years ago

Original comment by antonin on 24 Mar 2014 at 3:57