[poppler] skip annotations when rendering pages?

Albert Astals Cid aacid at kde.org
Mon Oct 2 20:29:23 UTC 2023


El dilluns, 2 d’octubre de 2023, a les 20:26:23 (CEST), Stéphane Charette va 
escriure:
> When converting PDF pages to images using
> poppler::page_renderer::render_page(), if the page has notes (annotations?)
> then it renders a yellow and white "speech bubble" icon on the page.
> 
> Is there a way to turn off rendering that icon to get the "original" page?

The cpp frontend doesn't implement that feature.

If you're interested in such a feature have a look at how it is implemented in 
the Qt frontend and propose a MR.

Hint: grep for annotDisplayDecideCbk

Cheers,
  Albert



> 
> Thanks,
> 
> Stéphane Charette






More information about the poppler mailing list