Diffusion Krita 797231d57435

Make gif import/export return better error codes

Authored by tymond on May 20 2019, 8:09 PM.

Description

Make gif import/export return better error codes

Before this commit, gif import/export filter would return
NoAccessToRead if handler couldn't find the correct flag in the file.
This commit changes it to FileFormatIncorrect and checks if the file is
readable beforehand.

Details

Committed
tymondMay 20 2019, 8:09 PM
Parents
R37:4ef77490e81b: Add tests for gif, heif, kra, ora, pdf and others
Branches
Unknown
Tags
Unknown