xinxinlx / openjpeg

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

opj_compress creates output file even in failure #323

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
 bin/opj_compress  -i /home/IMG/PNG/pal_bk.png -o pal_bk.png.jp2

[ERROR] Number of resolutions is too high in comparison to the size of tiles
failed to encode image: opj_start_compress
failed to encode image: opj_encode
failed to encode image: opj_end_compress
failed to encode image

But a file of size 77 B is created. To avoid such file
I have attached a patch file.

This patch file contains a change in 'cmake/TestLargeFiles.cmake'
for Issue 316 that has not been fixed for Linux-32-Bit.

winfried

Original issue reported on code.google.com by szukw...@arcor.de on 31 Mar 2014 at 3:58

GoogleCodeExporter commented 9 years ago
Could not add the patch file because JAVA was disabled in FIREFOX.

Here it is.

winfried

Original comment by szukw...@arcor.de on 31 Mar 2014 at 9:23

Attachments:

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2862.

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