0

I want to extract many images from a large PDF and then display those images as thumbnails. Right now we are using TallComponents.PDF dll for accomplished this task, but it takes much time to extract images and need to create some separate automation to reduce overhead from web server.

Is there any Jquery plugin i can use to extract images from PDF which may be fast enough and extract images on th fly.

Thanks for all your help..

Anil D
  • 1,989
  • 6
  • 29
  • 60

2 Answers2

2

Is there any Jquery plugin i can use to extract images from PDF which may be fast enough and extract images on th fly.

None that I am aware of. PDF manipulation is always a difficult and expensive task that is better done on the server.

Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928
1

jQuery is a JavaScript library it's not intended to address this issue.

It can get you data from a server, but it can't generate images from a PDF, even though there are some JS libs out their, which can generate PDFs … But they dont work in all browsers and they're not generating images …

See this thread: Generating PDF files with Javascript

Have you tried to use ImageMagick for thumbnail generation? I got good results out of it and it was really fast too.

Community
  • 1
  • 1
dom
  • 11,894
  • 10
  • 51
  • 74