Lightweight solution for converting PDFs