DecodeImageDialog converted to use pixels as dimensions instead of inches.