add pdftopng and improve its documentation