I created png's with this great library and thought it was very compact. I then took the output and used upng.js and was abile to save an additional 20 to 30 percent without noticable quality loss. I don't have the expertise to implement what they did in Java, however, maybe someone else does. Would be a nice addition to this or its own library. Http://GitHub.com/photopea/UPNG.js