Skip to content
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

Add force-conversion option to skip imlib2 image loading and directly try to convert the image instead #786

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lazypingu
Copy link

This PR adds the option force-conversion which skips the regular imlib2 image loading before a conversion will be attempted.

This might be helpful in cases where imlib2 is able to load the image but e.g. just a tiny thumbnail. This would prevent a further conversion, since the image was loaded successfully.

I faced this with .NEF raw files of a Nikon Z7 II camera.

With force-conversion enabled, feh will directly try to convert with dcraw or image-magick.

Since force-conversion only makes sense with enabled image-conversion, the latter option will be checked and set to zero if missing or negative.

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.

1 participant