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!
AddImageFromFile doesn't work in some PDFs files |
Post Reply |
Author | |
DetoloX
Beginner Joined: 24 May 20 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 24 May 20 at 5:17PM |
Hi, I am adding an image to a PDF file. I select the PDF file dinamically but I have specially 2 PDFs where the image is not showing.
The code is the same the image is the same and I am using differents PDFs but all of them have the same size. And curiosly if I use a PDF image extractor the image is there.
It could be posible that there is a PDF version problem? Or.. is posible that the image in this 2 cases is created above the other staff? In a lower layer? I have no idea why is this happening. |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Detolox,
the pdf-files you're mentioning are rotated (what you see in the reader is not the original orientation). If you do only the AddImage the image will be on a position out of view. Try a CombineContentStream and a NormalizePage before the AddImage and it will work. I'm pretty sure ;-) Cheers and welcome here, Ingo |
|
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