Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gimp palette import fixes #250

Merged
merged 1 commit into from
May 31, 2020
Merged

Gimp palette import fixes #250

merged 1 commit into from
May 31, 2020

Conversation

rob-a-bolton
Copy link
Contributor

Adds support for the newer variant of gpl files where "Name: " is used for palette name, and extracts palette name from comment if present (some converter/exporter must do this, as it was present in 4 of the palettes I had downloaded).
Also supports palettes where no name is supplied for the colours.

These changes fix failed imports of palettes using this new format, and palettes with unnamed colours.
Tested on a handful of GIMP palettes and appears to work fine.

@OverloadedOrama
Copy link
Member

Looks good, thank you!

@OverloadedOrama OverloadedOrama merged commit 145e3de into Orama-Interactive:master May 31, 2020
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