MantisBT - VTK
View Issue Details
0011975VTK(No Category)public2011-03-16 10:402013-07-10 10:04
Pietro Cerutti 
Dave DeMarle 
normalfeatureN/A
closedfixed 
6.0.0 
6.1.0 
TBD
incorrect functionality
0011975: [patch] add compression option to vtkPNGWriter
This patch adds a knob to the vtkPNGWriter class to allow the selection of a compression level (0-9). This maps directly to the png_set_compression_level function in the libpng API.

The default is 0 (no compression). I am open to suggestions on what you define a good default value.
fixed in http://review.source.kitware.com/#/t/2925 [^]
Thanks Pietro!
No tags attached.
diff vtkPNGWriter.diff (1,297) 2011-03-16 10:40
https://www.vtk.org/Bug/file/8755/vtkPNGWriter.diff
diff vtkPNGWriter_corrected.diff (1,302) 2011-03-16 10:43
https://www.vtk.org/Bug/file/8756/vtkPNGWriter_corrected.diff
Issue History
2011-03-16 10:40Pietro CeruttiNew Issue
2011-03-16 10:40Pietro CeruttiFile Added: vtkPNGWriter.diff
2011-03-16 10:43Pietro CeruttiFile Added: vtkPNGWriter_corrected.diff
2011-03-16 10:44Pietro CeruttiNote Added: 0025792
2011-06-16 13:12Zack GalbreathCategoryDevelopment => (No Category)
2013-06-05 15:44Jean-Christophe Fillion-RobinNote Added: 0030914
2013-07-10 10:01Dave DeMarleAssigned To => Dave DeMarle
2013-07-10 10:01Dave DeMarleStatusbacklog => tabled
2013-07-10 10:04Dave DeMarleProject => TBD
2013-07-10 10:04Dave DeMarleType => incorrect functionality
2013-07-10 10:04Dave DeMarleStatustabled => closed
2013-07-10 10:04Dave DeMarleResolutionopen => fixed
2013-07-10 10:04Dave DeMarleProduct Version => 6.0.0
2013-07-10 10:04Dave DeMarleFixed in Version => 6.1.0
2013-07-10 10:04Dave DeMarleAdditional Information Updatedbug_revision_view_page.php?rev_id=631#r631

Notes
(0025792)
Pietro Cerutti   
2011-03-16 10:44   
Please disregards the first patch, it contains typos in the comment lines.
(0030914)
Jean-Christophe Fillion-Robin   
2013-06-05 15:44   
Would be great if you could submit a patch using Gerrit. For more details see http://www.vtk.org/Wiki/VTK/Git/Develop [^]

Thanks
Jc