Skip to content

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

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions