Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ptahmose/czirepairjpgxr-libczi
tinkering
https://github.com/ptahmose/czirepairjpgxr-libczi
Last synced: 7 days ago
JSON representation
tinkering
- Host: GitHub
- URL: https://github.com/ptahmose/czirepairjpgxr-libczi
- Owner: ptahmose
- License: lgpl-3.0
- Created: 2024-07-03T08:16:58.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-10-29T12:48:50.000Z (17 days ago)
- Last Synced: 2024-10-29T15:17:24.685Z (17 days ago)
- Language: C++
- Size: 7.39 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: COPYING
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# CZIrepair
[![License: LGPL v3](https://img.shields.io/badge/License-LGPL_v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)
[![REUSE status](https://api.reuse.software/badge/github.com/ZEISS/libczi)](https://api.reuse.software/info/github.com/ZEISS/libczi)
[![CMake](https://github.com/ptahmose/czirepairjpgxr-libczi/actions/workflows/cmake.yml/badge.svg?branch=main&event=push)](https://github.com/ptahmose/czirepairjpgxr-libczi/actions/workflows/cmake.yml)
[![MegaLinter](https://github.com/ptahmose/czirepairjpgxr-libczi/actions/workflows/mega-linter.yml/badge.svg?branch=main&event=push)](https://github.com/ptahmose/czirepairjpgxr-libczi/actions/workflows/mega-linter.yml)## 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](https://github.com/ZEISS/libczi). 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](https://github.com/ZEISS/libczi?tab=readme-ov-file#licensing)).
* CZIrepair is licensed under the terms of LGPL3.0.