Using rawler instead imagepipe + rawloader#1572
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR replaces the imagepipe + rawloader combination with rawler, a fork of rawloader that offers better performance and supports CR3 files. The change affects raw image processing throughout the codebase and includes performance improvements (~2x faster) and support for additional raw formats.
Key changes:
- Replace
imagepipe+rawloaderdependencies withrawler - Refactor raw image processing logic to use rawler's API
- Extract timer utility into a reusable component
Reviewed Changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| misc/test_image_perf/src/main.rs | Replace imagepipe/rawloader with rawler API and extract timer functionality |
| misc/test_image_perf/Cargo.toml | Update dependencies to use rawler instead of imagepipe/rawloader |
| czkawka_core/src/common_image.rs | Update raw image processing to use rawler API |
| czkawka_core/Cargo.toml | Replace imagepipe/rawloader with rawler dependency |
| czkawka_core/src/common.rs | Add CR3 extension to supported raw image formats |
| czkawka_core/src/helpers/* | Create helpers module with extracted timer and delayed sender utilities |
| krokiet/src/model_operations/model_processor.rs | Update import path for delayed sender |
| Changelog.md | Document the library replacement change |
SpeedyGX
pushed a commit
to SpeedyGX/czkawka
that referenced
this pull request
Apr 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rawler is a still-developed fork of rawloader, and allows reading CR3 files.
It has many dependencies (like image-rs) updated, which can reduce the number of lines in Cargo.lock.
However, it currently includes a lot of unused dependencies — this will be fixed in this PR: https://github.com/dnglab/dnglab/pull/568/files
Similarly to rawloader, it hasn't been fuzzed extensively, so it still contains many crashes when loading corrupted files (Czkawka catches this panics with default panic="unwind" options).
It produces a little different results than imagepipe, but this shouldn't be really a big problem
It is also usually about 2× faster than ImagePipe + rawloader.