commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SukantPal <...@git.apache.org>
Subject [GitHub] commons-imaging issue #38: Cleaned up PNG component.
Date Sat, 01 Dec 2018 13:51:18 GMT
Github user SukantPal commented on the issue:

    https://github.com/apache/commons-imaging/pull/38
  
    I have done more commits. Everyone, I am a newbie, don't know if I should've made a new
PR for more commits. But for now, until someone responds, I will be updating about my commits
here.
    
    I have added real filtering support in PngWriter. It now uses the PAETH filter for each
scan-line in non-indexed (non-paletted based) PNG image files. This has reduced the sizes
of the images outputted in PngMultipleRoundTest by 40-50%. Hope that will be appreciated.
    
    In addition, I have removed the complexity associated with filtering. Now only one object
- AdaptiveFilter - is used to filter scan-lines. It is fed each scan-line serially using its
filter/unfilter method. The ScanExpediter now doesn't handle filtering directly.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message