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

Allow Fedora / CentOS / RHEL to handle JPEG #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewbenton
Copy link

Allow Fedora / RHEL / CentOS to avoid JPEG issues

On Fedora / RHEL / CentOS, JPEG functions aren't included in
libfreeimage, so loading failure should be ignored on these platforms.
This can be checked by looking for the /etc/redhat-release file.

Allow Fedora / RHEL / CentOS to avoid JPEG issues

On Fedora / RHEL / CentOS, JPEG functions aren't included in
libfreeimage, so loading failure should be ignored on these platforms.
This can be checked by looking for the /etc/redhat-release file.

Clean up double checking on JPEG

Remove empty lines
@mdparker
Copy link
Member

I'm fine with adding this, but I think it really should be opt-in. This is something that will have to be documented either way, but at least if it's opt-in they'll get an exception telling them about a missing function rather than, if they're using any of these functions, an access violation they'll waste time trying to debug before they finally ask for help.

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