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!
![]() |
TIFF files loading fail with AddImageFromFile |
Post Reply ![]() |
Author | |
bneau ![]() Beginner ![]() ![]() Joined: 06 Sep 10 Location: Paris, France Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 06 Sep 10 at 8:33PM |
Hi,
I'm currently experiencing a weird issue with some TIFF files. While most TIFF files I've been using load well with QuickPDF's AddImageFromFile function, some TIFF files (which are rendered fine using GDI) cannot be opened with AddImageFromFile. It also either fails (i.e. returns 0) or freezes at this point.
It seems to me as opening any multipages 300 DPI bitonal TIFF (CCIT 4 Compression) and rotating one of the pages using the default Windows TIFF renderer file is enough to fashion the file in such a way QuickPDF won't be able to use it.
Regarding the technical stuff, we're using QuickPDF 7.19 both from in .NET (C#) projects and JAVA projects. The bug seems to be independant of the hosting machine OS (it happens both on Windows XP SP3 and Windows Server 2008).
But w/ .NET, it freezes (in a WCF REST web service) while in JAVA (desktop application), it simply fails (returns 0).
At the moment, the only workaround we've found is to temporarily convert the image to a (supposedly) safe format like PNG before passing it to AddImageFromFile, which is pretty unconvenient, resources-consuming, error-prone and making our code less maintainable.
As a side note, it's also pretty annoying that the TIFF page parameter and "force GDI" parameter occupy the same parameter slot on the AddImageFromFile method.
So, (sorry for these newbie questions)
A/ Is this issue known?
B/ Is there any kind of public issue-tracker for QuickPDF?
C/ What is the average time for fixing a bug once the development team has been able to reproduce it? (aka Should we wait for the next release, or as my company is a registered customer of QuickPDF, can we get a hotfix sooner?)
Thanks for your time and consideration.
Best Regards,
Benjamin Neau Edited by bneau - 06 Sep 10 at 9:13PM |
|
![]() |
|
bneau ![]() Beginner ![]() ![]() Joined: 06 Sep 10 Location: Paris, France Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
It was a mistake. I deduced from no freeze that it was gone, but in fact, it still fails at loading some TIFF files...
So the problem is still happening and I'm still investigating. Edited by bneau - 06 Sep 10 at 9:01PM |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3530 |
![]() ![]() ![]() ![]() ![]() |
Hi Benjamin!
This is hard stuff i fear. I've made the same experiences like you did. The tiff format have wide spreaded convention - so i've converted your tiff to other tiff-formats (lzw and some other ones) but it doesn't matter what i choose i've always got a black image... After rotating the image and saving as jpg i could work on it like you can. You should upload the tiff on the official support pages. There's an option to do this. The support team won't take a rapidshare-file. Please keep in mind: This here is only a user-user-forum. Cheers and welcome here, Ingo |
|
![]() |
|
bneau ![]() Beginner ![]() ![]() Joined: 06 Sep 10 Location: Paris, France Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Hey Ingo,
Thanks for your valuable input. One thing tho, I couldn't find the option to upload a file.
Kind regards,
Benjamin
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3530 |
![]() ![]() ![]() ![]() ![]() |
Hi!
Why not try http://www.quickpdf.org There you can click on "QuickPDF Homepage": http://www.quickpdflibrary.com/ There is a support-menu, take "ask a question"... and then "Technical support". All in one: http://www.quickpdflibrary.com/support/support-query.php 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