changed jpeg's into pdf