Originally Posted by alxwang
I convert a PDF to png then I need to remove the blank margin of the result pictures.
Does there any tools can do this job?
If you use PDFRead
on that .pdf, it can then return a directory full of .png's that all have any excess white margins removed (and are optionally dilated/sharpened).
Give it a try and select .html as your out(put) format.