I need to crop /trim away any white space around text in a PDF file and I need access to some simple data contained in PDF annotations.
My working solution using pdf.js is too slow for my use case. Mutool seems to be much faster, but I face 3 difficulties:
Any experience with mutool run Javascript access to PDF files out there?