Print Page | Close Window

get page information

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=1377
Printed Date: 31 Jan 26 at 9:18PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: get page information
Posted By: SlyJay
Subject: get page information
Date Posted: 20 Mar 10 at 4:21PM

Hi again,

I need to get page information for (scanned) pdf file like:
pagetype: tiff, jpeg etc.
colour: BW or colour
resolution: in DPI
compression: compression used for the page
 
but as I open my file with:
       qp.LoadFromFile(CurrentFilename)
when I call:
      qp.ImageHorizontalResolution
or
       qp.ImageResolutionUnits
 
it returns always a 0.
 
How can I achieve this?? Any help is appreciated (vb, C#)
 
Thanks in advance
 
Sly
 



Replies:
Posted By: Ingo
Date Posted: 22 Mar 10 at 7:30AM
Hi!

As far as i know the first three properties are image-relevant and you can get them only searching directly into the code. That's possible... first unencrypt and save with QuickPDF and then looking with the your programming language. A decrypted pdf is nearly ascii - so looking inside is possible.
Please read the thread "he first steps..." in the "General section"...

Cheers and welcome here,
Ingo
 


Posted By: SlyJay
Date Posted: 22 Mar 10 at 8:44AM
Thank you, but I found a way using findImages then selecting the image and then accessing to imagetype etc.
 
But I'm experiencing another problem during extraction. I'll open a new post about this.
 
thanks
 
 
Sly



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