Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
DAGetImageListCount does not work |
Post Reply ![]() |
Author | |
skoschke ![]() Team Player ![]() Joined: 11 Jan 17 Status: Offline Points: 33 |
![]() ![]() ![]() ![]() ![]() Posted: 11 Jan 17 at 12:36PM |
If i open different PDF files and use QP.DAGetImageListCount to get images from these files, i get no images.
If i open the file in any pdf viewer, i can see a background image. What can i do to extract the images? Second problem: if i use QP.ExtractPageTextBlocks(3) i get text from pdf file, but in some cases i get wrong text, for example "PhoNe nuMber" insted of "Phone number" what i can see in any pdf viewer? Stefan
|
|
![]() |
|
tfrost ![]() Senior Member ![]() Joined: 06 Sep 10 Location: UK Status: Offline Points: 437 |
![]() ![]() ![]() ![]() ![]() |
I suggest you show your actual code, so that people can first eliminate obvious problems.
|
|
![]() |
|
skoschke ![]() Team Player ![]() Joined: 11 Jan 17 Status: Offline Points: 33 |
![]() ![]() ![]() ![]() ![]() |
Code with DirectAccess:
The result of DAGetImageListCount in example 1 and GetImageListCount in example 2 is 0 Both codes don't give me images back, in different pdf files, in other pdf files the images are given back correctly! Is it possible that the images i see are watermarks ore stamps? How to read out these? Stefan
Edited by skoschke - 11 Jan 17 at 1:35PM |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Stefan,
only embedded (inserted as files) images can be extracted from pdf. It's similar to a word document: You can insert a screenshot from the clipboard or you can insert an image file - that's different. Images which are not really enbedded/inserted you can't extract using QuickPDF-functionality. Your second issue will have to do with a strange font or something similar - so QuickPDF have some trouble in recognition. Please keep in mind that QuickPDF is still a light weight pdf library instead of - for example - an adobe installation which comes around with 100 mb ;-) It will help to upload the pdf-file anywhere - so we could make tests with own routines... Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
![]() |
|
skoschke ![]() Team Player ![]() Joined: 11 Jan 17 Status: Offline Points: 33 |
![]() ![]() ![]() ![]() ![]() |
Hi Ingo,
thank you for welcome , i understand now and will go another way in this case: I try to use RenderPageToStream so i get the full page as background for my new pdf file... Stefan
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Stefan,
yes... RenderPage is the only way out of your issue ;-) |
|
Cheers,
Ingo |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store