replace images with the png equivalent to save space. Also left in
method to do the conversions.