-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix 1548 #55
Conversation
The added images triggered some more issues with the recent rounding changes from #54 but this should be all good now... |
To fix the codecov status you have to add some more tests to increase the coverage :D |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Fixes LycheeOrg/Lychee#1548
When I added a few more test images I realized how incomplete our support was across multiple adapters so I patched up what I could:
MapperAbstract
class which implements one method: a recursivetrim
.UTF8 handling is still hit-and-miss though. For instance, the ImageMagick adapter tends to just replace "strange" characters with a dot (
.
). I added an invocation ofconvertToUTF8
(which we use in other adapters) in the hope of fixing it but it didn't seem to improve anything. For best results, one should use Exiftool (as always, really...).