Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Bugfix 730: TIFFDict Meta Data Exception On iOS MediaPickerDelegate.cs #741

Merged
merged 1 commit into from
Sep 21, 2019

Conversation

dmitrevski
Copy link

This pull request fixes the issue #730, the problem was that you are trying to set the keys for a non-mutable dictionary, this is not allowed on IOS. Because of this exception, all the code bellow TIFFDictionary was not executed and GPS metadata was not set.

Changes Proposed in this pull request:

  • Instead of directly set the value of ImageIO.CGImageProperties.Orientation in NSDictionary I define a mutable dictionary, import all the values from the TIFFDictionary and then set the value of ImageIO.CGImageProperties.Orientation

@jamesmontemagno jamesmontemagno merged commit 3968f2d into jamesmontemagno:master Sep 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants