My problem is the following:
There are some huge PDF files (>500MB) and I want to find their page count, using JAVA. If I use itext or pdfbox, I have to wait until it reads the whole file and most of the times this fails, because of the large size of the file or it just takes a lot of time.
So, I would like to know if there is any quick and efficient way to find the page count of a PDF file.