Skip to content

DaveyJonesBitPail/czirepairjpgxr-libczi

 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.8%
  • C 6.9%
  • Other 0.3%