-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Image Resizer]Try to recover metadata even when the metadata data st…
…ructure is invalid (#14914) * metadata.Clone() fails also for situations where we still can recover metadata metadata.Clone() is also an expensive operation (deep copy) and it is not necessary anymore as we build up the metadata object from scratch anyway * If an exception is throw here something is seriously wrong with the metadata structure We take all metadata we have read so far an write it to the resized image * add log statement * Adjust test written for #2447 as we are able to copy the metadata now * Improve documentation
- Loading branch information
1 parent
1e00331
commit 9152ea8
Showing
3 changed files
with
35 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters