use png instead of pdf due to it's wider support (in the qt console and in firefox)