Print Page | Close Window

Extract thumbnails

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1162
Printed Date: 31 Jan 26 at 7:54PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Extract thumbnails
Posted By: ArturAs
Subject: Extract thumbnails
Date Posted: 31 Jul 09 at 2:56PM
I understand how to create thumbnails.
But how can i extract thumbnails from an existing pdf file?

Artur



Replies:
Posted By: DELBEKE
Date Posted: 01 Aug 09 at 5:54AM
As far as i know, it is not possible to save an image included in a pdf.


Posted By: Ruturaaj
Date Posted: 12 Aug 09 at 11:43PM
Originally posted by DELBEKE DELBEKE wrote:

As far as i know, it is not possible to save an image included in a pdf.


You can extract images from PDF using QuickPDF. The process is like this:

1. LoadFromFile your PDF in QuickPDF.

2. Get total number of images in selected PDF file using FindImages

3. In a FOR loop from 1 to result of FindImages, select the image using SelectImage. It takes the Image ID which is nothing but your FOR loop variable here.

4. SaveImageToFile ... to save image.

There is a problem in QuickPDF though. When I tested this method, it slices a few images in PDF at the time of extracting. I've already sent an email to support and waiting for their reply on this issue.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk