-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Is your feature request related to a problem? Please describe.
The library should be able to detect blank pages. IPageReader should have a property or a function to return the number of objects or anything that can help to identify if the current page is empty.
Describe the solution you'd like
As per my limited understanding of pdfium, probably use FPDFPage_CountObject function to get the number of objects. Not 100% sure, open to more discussions.
Describe alternatives you've considered
IPageReader.GetText is always empty even when the page is not blank. I tested on the pdfs that have images and text both.
IPageReader.GetImage pretty much return the page as an image. Can a blank image be used to identify if the page is blank?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed