-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to check if a PDF page is blank? #275
Comments
Hey. What do you mean with blank?
Just making sure we have the same understanding here. |
Hi. I mean a page without any element. |
I am currently sick I'll have a look when healthy again |
Would you mind sending / adding a sample file, this does not work on the sample i've got here |
you have a very valid point, i'm unable to find a way to say if a page is empty or not. |
Thanks anyway :) |
I maybe need to expose some c++ functionality which goes over the xobject or so. will take some time. |
Hi. I want to check if a PDF page is blank. I start with looking into the result of
pdfReader.parsePageDictionary(pageIndex).toJSObject().Resources
.I guess it is blank if
pdfReader.parsePageDictionary(pageIndex).toJSObject().Resources.toJSObject().XObject
is undefined but I am not sure. Please advise.Thanks.
The text was updated successfully, but these errors were encountered: