Added a parameter to set resolution in pdf2png filter