Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Save snapshots in correct format - #10090

Merged
1ec5 merged 2 commits into
fabian-snapshoter-9920from
1ec5-macos-snapshot
Sep 29, 2017
Merged

1ec5 merged 2 commits into
fabian-snapshoter-9920from
1ec5-macos-snapshot

Conversation

@1ec5

@1ec5 1ec5 commented Sep 29, 2017

Copy link
Copy Markdown
Contributor

I finally found a reliable way to convert from file extensions to UTIs to NSBitmapImageFileTypes. This change allows files to be saved in any of the supported bitmap image formats, not only TIFF.

The save panel starts out with the name of the style as the file name. It restricts the allowed file types, so that if you enter an extension of .pdf, you’re prompted to add .png to the file name. Finally, the menu item has been renamed to Export Image, which is more consistent with other Mac applications.

/cc @fabian-guerra @ivovandongen

@1ec5 1ec5 added bug macOS Mapbox Maps SDK for macOS labels Sep 29, 2017
@1ec5 1ec5 added this to the macos-v0.6.0 milestone Sep 29, 2017
@1ec5 1ec5 self-assigned this Sep 29, 2017
@1ec5
1ec5 requested a review from fabian-guerra September 29, 2017 07:24

@fabian-guerra fabian-guerra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. 👍🏼

@1ec5
1ec5 merged commit d16aea7 into fabian-snapshoter-9920 Sep 29, 2017
@1ec5
1ec5 deleted the 1ec5-macos-snapshot branch September 29, 2017 19:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug macOS Mapbox Maps SDK for macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants