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

ENH: Add the ability to write/read PNG metadata #1689

Merged
merged 1 commit into from
Nov 16, 2015

Conversation

danlipsa
Copy link
Contributor

Canvas.png now has an extra parameter 'metadata' which is
a dictionary with key,value pairs to be written to the PNG file.
We added a new function vcs.png_read_metadata which returns
a dictionary of key,value pairs read from the PNG file.

@danlipsa
Copy link
Contributor Author

@aashish24 @sankhesh Please review.

@sankhesh
Copy link
Contributor

@doutriaux1

@aashish24
Copy link
Contributor

Cool! thanks @sankhesh @danlipsa

Ping @isubsmith @williams13

@doutriaux1
Copy link
Contributor

@danlipsa some tests failed

@aashish24
Copy link
Contributor

Dan vcs_test_png_metadata failed because VTK branch was merged afterwards. I merged it now so when you update this branch to fix the flake8_vcs failing test, it should pass.

Canvas.png now has an extra parameter 'metadata' which is
a dictionary with key,value pairs to be written to the PNG file.
We added a new function vcs.png_read_metadata which returns
a dictionary of key,value pairs read from the PNG file.
@doutriaux1
Copy link
Contributor

@danlipsa funny, I pulled your branch, merged master in it to re-trigger a build and I push I get a conflict, you had synchronized the branch in the 30seconds in between... Anyhow let's see what the bots say (probably failure on macs but unrelated) and let's merge this.

@danlipsa
Copy link
Contributor Author

Yes, I just pushed another SHA which included Aashish's style fix. Indeed let's wait for the tests to complete.

doutriaux1 added a commit that referenced this pull request Nov 16, 2015
ENH: Add the ability to write/read PNG metadata
@doutriaux1 doutriaux1 merged commit d19685e into master Nov 16, 2015
@doutriaux1 doutriaux1 deleted the png-add-text-chunks branch November 16, 2015 23:11
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.

4 participants