adding utility to regularize pixel density to 400 ppi.