Skip to content

ptahmose/czirepairjpgxr-libczi

CZIrepair

License: LGPL v3 REUSE status CMake MegaLinter

What

This is repo contains a console application CZIrepair which can be used to fix a certain type of malformed CZIs. It is only one type of corruption that the tool can fix - when the width/height of a sub-block is reported differently in the CZI-file than it actually is, and only in the case of JPGXR-compressed data. The tool will write the width/height determined from the JPGXR-compressed data to corresponding data-structures at CZI-level. The tool offers two modes of operation:

  • There is a dry-run mode, where the tool will only read the CZI-file and report the issues it found.
  • There is a patch mode, where the corruption is fixed in-place (i.e. the original file is modified).

This tool is based on the libCZI library. This repo contains a modified version of the libCZI library, which is used by the CZIrepair tool.

Licensing

  • libCZI (and the modifications made to it here) is licensed under the terms of LGPL3.0 (c.f. here).
  • CZIrepair is licensed under the terms of LGPL3.0.

About

tinkering

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages