amitkumar3968 / openjpeg

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

r2851 [trunk]removed '-x' option for index file as long as it's broken #341

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
r2851 [trunk]removed '-x' option for index file as long as it's broken

It is not broken but unused. The attached patch uses it.

 bin/opj_decompress -i beach_64bitsbox.jp2 -o beach.png -x beach.idx

'beach.idx' is attached.

winfried

Original issue reported on code.google.com by szukw...@arcor.de on 24 Apr 2014 at 1:02

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patch Winfried.
However, this enables index dumping for opj_decompress (which is basically what 
opj_dump does).

What I disabled is index dumping for opj_compress. I guess it's not so 
complicated to repair it but I would like to avoid having to decode the encoded 
image to dump the index ... No time to code and test this before 2.1.

If you have a patch for opj_compress, please provide but it will likely be 
applied after 2.1 release.

Original comment by anto...@gmail.com on 24 Apr 2014 at 11:31

GoogleCodeExporter commented 9 years ago
Here is the patch. The code has been catenated to 'opj_compress.c' so that
you easily can chop it off.

winfried

Original comment by szukw...@arcor.de on 24 Apr 2014 at 9:41

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by mathieu.malaterre on 28 Apr 2014 at 7:35