JonBCode / openjpeg

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

opj_compress run twice gives different fiile sizes for same file #490

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Take an 8 bit tiff  foo1.tif, and compress using 2K 24FPS Cinema profile
   This gives foo1.jp2 file. 
2. note the file size for foo1.jp2
2. run opj_decompress on foo1.jp2 to output as bmp:  foo1.bmp.
3. now we have two files in our folder, foo1.bmp and foo1.tif  
4. rename files to foo2.bmp and foo3.tif
5. run opj_compress on folder with two files, giving foo2.jp2 and foo3.jp2

What is the expected output? What do you see instead?

Expected: file size for foo3.jp2 equals file size for foo1.jp2, since we are 
compressing the same file in both cases

Actual:  the file sizes differ

Please use labels and text to provide additional information.

Original issue reported on code.google.com by boxe...@gmail.com on 5 May 2015 at 7:14

GoogleCodeExporter commented 9 years ago
I am running latest master from github repo.

Original comment by boxe...@gmail.com on 5 May 2015 at 7:16