Skip to content

Commit

Permalink
print currently decoding file to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Quackdoc authored Feb 5, 2025
1 parent 1a10059 commit 6060955
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions czkawka_core/src/common_image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ pub fn get_jxl_image(path: &str) -> anyhow::Result<DynamicImage> {
pub fn get_dynamic_image_from_path(path: &str) -> Result<DynamicImage, String> {
let path_lower = Path::new(path).extension().unwrap_or_default().to_string_lossy().to_lowercase();

debug!("decoding file {}", path);
let res = panic::catch_unwind(|| {
if HEIC_EXTENSIONS.iter().any(|ext| path_lower.ends_with(ext)) {
#[cfg(feature = "heif")]
Expand Down

0 comments on commit 6060955

Please sign in to comment.