>>9
ImageMagickで
convert 設定前.png -density ピクセル寸法(cm) -units pixelspercentimeter 設定後.png
目的に合っていればいいけど