Skip to content

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

Merged
doutriaux1 merged 1 commit intomasterfrom
png-add-text-chunks
Nov 16, 2015
Merged

ENH: Add the ability to write/read PNG metadata#1689
doutriaux1 merged 1 commit intomasterfrom
png-add-text-chunks

Conversation

@danlipsa
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

@aashish24 @sankhesh Please review.

@sankhesh
Copy link
Copy Markdown
Contributor

@doutriaux1

@aashish24
Copy link
Copy Markdown
Contributor

Cool! thanks @sankhesh @danlipsa

Ping @isubsmith @williams13

@doutriaux1
Copy link
Copy Markdown
Contributor

@danlipsa some tests failed

@aashish24
Copy link
Copy Markdown
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.
@danlipsa danlipsa force-pushed the png-add-text-chunks branch from 81403fb to af562c5 Compare November 16, 2015 19:58
@doutriaux1
Copy link
Copy Markdown
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
Copy Markdown
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