Recursive PNG optimizer