Skip to content

Allow Fedora / CentOS / RHEL to handle JPEG - #12

Open
andrewbenton wants to merge 1 commit into
DerelictOrg:masterfrom
andrewbenton:master
Open

Allow Fedora / CentOS / RHEL to handle JPEG#12
andrewbenton wants to merge 1 commit into
DerelictOrg:masterfrom
andrewbenton:master

Conversation

@andrewbenton

Copy link
Copy Markdown

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
Copy Markdown
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