added flag to saveGray to force pixel density to be set in .png files.

Causes problems with some downstream programs if the value is left as 'Unknown'