Well, you could also print your canvas using any vector format (".eps" or “.pdf”) and then use an external utility (provided by your system, e.g. ImageMagick) to “convert” graphics format into a “.png”.
If you get problems with “anti-aliasing”, see: Colored 2D histograms in pdf output