0

I want to calculate number of pages in a PDF file while uploading to my application by Javascript in Client Side. I want some help for this. I Google this topic but I couldn't get any appropriate solution.

1 Answers1

0

If you are uploading PDF file to the server anyway then it is better to do this on the server-side, there are lot of options depending what is your target platform).

For example, you may use the open source Ghostscript to count total number of pages.

Community
  • 1
  • 1
Eugene
  • 2,820
  • 19
  • 24