png optimisation for branch