Skip to content

Move bad image files into own folder#2806

Merged
fintelia merged 1 commit intoimage-rs:mainfrom
RunDevelopment:bad-images-test
Feb 28, 2026
Merged

Move bad image files into own folder#2806
fintelia merged 1 commit intoimage-rs:mainfrom
RunDevelopment:bad-images-test

Conversation

@RunDevelopment
Copy link
Member

Part of #2802.

This moves all image files that fail to decode (=return an error) into their own folder.


Notes:

  1. I'm not sure if ico/Bad_smile-incorrect-image-length.ico is invalid. Chrome can read it. Gimp and Windows can't. Firefox decodes it incorrectly.
  2. tiff/hpredict_cmyk.tiff isn't invalid. The tiff crate just can't read it.

Copy link
Contributor

@fintelia fintelia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would prefer to use libtest-mimic for this, but that can be a followup

@fintelia fintelia merged commit 3c56249 into image-rs:main Feb 28, 2026
31 checks passed
@RunDevelopment RunDevelopment deleted the bad-images-test branch February 28, 2026 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants