Option to Force Image Conversion to Prevent White Fonting #500

Closed
opened 2026-02-16 00:18:03 -05:00 by yindo · 1 comment
Owner

Originally created by @adreichert on GitHub (Jul 14, 2025).

Summary

In certain modes, LlamaParse extracts text from PDFs even if the text color matches the background color. Practically, this means that text written in white font on white backgrounds is extracted undesirably.

Maybe there is a mode that does this already. If not, I'd like to request an option to force the conversion of all PDF pages to images prior to extraction, which would prevent hidden text from being extracted.

Reproduction

Image

Other

  • I also tried playing with the various options, for instance, turning on high-res OCR in the custom subset. The text appeared with all choices.
Originally created by @adreichert on GitHub (Jul 14, 2025). # Summary In certain modes, LlamaParse extracts text from PDFs even if the text color matches the background color. Practically, this means that text written in white font on white backgrounds is extracted undesirably. Maybe there is a mode that does this already. If not, I'd like to request an option to force the conversion of all PDF pages to images prior to extraction, which would prevent hidden text from being extracted. # Reproduction * Go to https://cloud.llamaindex.ai/ * In the playground, parse [lincoln.pdf](https://github.com/user-attachments/files/21221675/lincoln.pdf), which contains text in white text, in balanced and premium * The text will be parsed. <img width="528" height="911" alt="Image" src="https://github.com/user-attachments/assets/f13d1880-0e97-45da-a8d8-3779726c2116" /> # Other * I also tried playing with the various options, for instance, turning on high-res OCR in the custom subset. The text appeared with all choices.
yindo added the enhancement label 2026-02-16 00:18:03 -05:00
yindo closed this issue 2026-02-16 00:18:03 -05:00
Author
Owner

@adreichert commented on GitHub (Jul 14, 2025):

NVM. I found it. "Parse with LVM". parse_mode="parse_page_with_lvm".

@adreichert commented on GitHub (Jul 14, 2025): NVM. I found it. "Parse with LVM". `parse_mode="parse_page_with_lvm".`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_cloud_services#500