New way to convert pdf to png (supports multi page)