Optimise PNG for web

I was looking for a method to optimise my png files for the web and came up with the following command:

convert in.png -depth 24 -define png:compression-filter=2 -define png:compression-level=9 -define png:compression-strategy=1 out.png

Convert is a simple but very mighty imagemagick command.