Skip to content

patch : png compression level option from user#28

Merged
doutriaux1 merged 1 commit intoCDAT:masterfrom
arulalant:patch-1
Oct 27, 2016
Merged

patch : png compression level option from user#28
doutriaux1 merged 1 commit intoCDAT:masterfrom
arulalant:patch-1

Conversation

@arulalant
Copy link
Copy Markdown
Contributor

I added two lines which used to pass argument "compression" by the user to control compression level of out png file.
x.png('outfile.png', compression=0) # no compression

I added two lines which used to pass argument "compression" by the user to control compression level of out png file. 
x.png('outfile.png', compression=0) # no compression
@arulalant arulalant changed the title png compression level option from user patch : png compression level option from user Oct 27, 2016
@doutriaux1
Copy link
Copy Markdown
Contributor

thanks @arulalant is 5 the default currently (i.e. before your patch)?

@doutriaux1
Copy link
Copy Markdown
Contributor

yes I see that it is (http://www.vtk.org/doc/nightly/html/classvtkPNGWriter.html#a6c251888f7132567ad1789ff96934772)

Should we change the default to 0? @aashish24 @danlipsa what do you think?

@doutriaux1 doutriaux1 merged commit e18101a into CDAT:master Oct 27, 2016
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