Open aaronleopold opened 10 months ago
It certainly can be useful, but it's not as straight forward on paper. Depending on the library used and the complexity of the PDF, the conversion to images can miss layers that are more complex. PDF has a lot of nuances that can cause edges cases.
Good point(s). Honestly I’m not too familiar with how reliable PDF-page-to-image converting is using Pdfium, but also in general, since I generally avoid collecting PDFs myself for these very reasons. That library is pretty much the only viable option for Rust I could find, though. Hopefully for scenarios I’d imagine this feature would be used (e.g. comic books, as opposed to more complicated PDF files with text or forms), it won’t present with too many issues.
I think it could be useful to support converting PDF files to archives of images. Fairly low effort to support this once #35 is officially merged.