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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - AddImageFromFile failed in Azure platform
  FAQ FAQ  Forum Search   Register Register  Login Login

AddImageFromFile failed in Azure platform

 Post Reply Post Reply
Author
Message
donna View Drop Down
Beginner
Beginner


Joined: 22 Oct 17
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote donna Quote  Post ReplyReply Direct Link To This Post Topic: AddImageFromFile failed in Azure platform
    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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 22 Oct 17 at 2:31PM
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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store