scan png instead of pdf and convert afterwards