Skip to content

imagecodecs 2024.9.22 produces excessively large output files #3

@w-m

Description

@w-m

A Python environment with a current version of imagecodecs produces excessively large files.

For the Truck scene with the ours_q_sh_local_test configuration in jxl_quant_sh compression, we expect ~28.8 MB, which we get with imagecodecs 2023.9.18. Here are the results with a current imagecodecs side by side:

Filename imagecodecs==2023.9.18 imagecodecs==2024.9.22
_features_dc.jxl 1.3 MB 3.1 MB
_features_rest.jxl 16.7 MB 90.6 MB
_opacity.jxl 421.7 kB 2.8 MB
_rotation.jxl 1.5 MB 7.1 MB
_scaling.jxl 2.6 MB 12.8 MB
_xyz.jxl 6.2 MB 12.0 MB
Total Size 28.7 MB 128.3 MB

Needs an investigation why there is such a large (4x) regression in file sizes with different imagecodecs versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions