Add configuration option for PDF preview method (text vs image)
Author: coderabbitai[bot]Created Dec 16, 2025Updated Aug 18, 2026
Labelsidea
Problem
The current PDF preview implementation converts PDFs to images using pdftoppm, which can be slow for large PDFs or when browsing through multiple PDF files.
Proposed Solution
Add a user configuration option to choose between two PDF preview methods:
- Text-based preview: Use
pdftotextto extract and display text content (faster, but no visual preview) - Image-based preview: Use
pdftoppmto convert the first page to an image thumbnail (slower, but shows visual layout)
This would allow users to balance between performance and visual fidelity based on their needs.
Context
- Introduced in PR #1198
- Requested by @lazysegtree in comment
Source: yorukot/superfile