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 failed in Azure platform |
Post Reply |
Author | |
donna
Beginner Joined: 22 Oct 17 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 22 Oct 17 at 4:25AM |
Hi,
I faced issue when use AddImageFromFile function in Azure platform. I always get return value = 0, which is failed to add image. The image format that I'm using is BMP. I did tried other functions such as DrawText, DrawTextBox, DrawLine, SaveToFile, CompressImage, and etc. All are working perfectly. I have no clue why only AddImageFromFile will fail. By the way, I had used SetTempPath and TestTempPath to check the image folder permission. I get 1 from both returns. And, texts and lines are drawn and saved successfully. So, I believe that this is not permission issue. Please advise if you know how to solve this. Thanks.
Edited by donna - 22 Oct 17 at 9:09AM |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Donna,
QuickPDF uses in standard gdi+functionalities for image-handling and rendering. Make sure gdi+ is in system32- or syswow64-path (depends on your dev.environment). You can use different engines (gdi+ isn't a must) but then you have to bind it with QuickPDF-syntax (please read the online reference)... BTW: Always the relevant code snippet about your AddImgaFromFile was helpful for helping hints ;-) 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