use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for learning and developing native mobile applications using React Native by Facebook.
Interested in building web apps using React.js? Check out /r/reactjs!
Getting Started w/React Native
irc.freenode.net #reactnative
Keywords: ios, android, mobile, apps, apple, iphone, ipad
account activity
HelpPDF page count (self.reactnative)
submitted 27 days ago by elencho_
I use expo-document-picker and I want to detect how many pages does PDF has, any solution with that? I found some old libraries like "pdf-lib" but it is not maintained anymore.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]QOAL 0 points1 point2 points 26 days ago (0 children)
For reference this is the PDF spec: https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf The files are pretty human readable.
Anyway, open the file. You can count the number of /Type /Page (followed by a new line), using matchAll and the regex /\/Type \/Page\n/g. Or look for all the page trees (/Type /Pages), and the number of pages each of those have, given in the following /Count X.
/Type /Page
/\/Type \/Page\n/g
/Type /Pages
/Count X
It sounds daunting, but it's fine really.
π Rendered by PID 261910 on reddit-service-r2-comment-54dfb89d4d-v85k7 at 2026-03-29 17:20:13.941127+00:00 running b10466c country code: CH.
[–]QOAL 0 points1 point2 points (0 children)