image conversion only for non-png files