Skip to content

New function safe_load() that do not stop parsing of EXIF after any error in data.#101

Open
Cykooz wants to merge 5 commits intohMatoba:masterfrom
Cykooz:master
Open

New function safe_load() that do not stop parsing of EXIF after any error in data.#101
Cykooz wants to merge 5 commits intohMatoba:masterfrom
Cykooz:master

Conversation

@Cykooz
Copy link

@Cykooz Cykooz commented Mar 13, 2020

Added new function safe_load() that do not stop parsing of EXIF after any error in data. Instead it collects all errors into special list. As a result the function returns tuple contains a dictionary with parsed EXIF and list of all errors.

…xceptions during parse of corrupted EXIF.

- Fixed exception in ``_ExifReader.get_ifd_dict()`` during parse of EXIF with invalid IFD pointers. Instead it this method returns dictionary with '_errors' key that has description of error.
…fter any error in data. Instead it collects all errors into special list. As a result the function returns tuple contains a dict with parsed EXIF and list of all errors.
…fter any error in data. Instead it collects all errors into special list. As a result the function returns tuple contains a dict with parsed EXIF and list of all errors.
@coveralls
Copy link

coveralls commented Mar 13, 2020

Coverage Status

Coverage decreased (-0.6%) to 94.247% when pulling 8f47729 on Cykooz:master into 3422fbe on hMatoba:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.6%) to 94.252% when pulling 8f47729 on Cykooz:master into 3422fbe on hMatoba:master.

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