Using png instead of pdf