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 - TIFF files loading fail with AddImageFromFile
  FAQ FAQ  Forum Search   Register Register  Login Login

TIFF files loading fail with AddImageFromFile

 Post Reply Post Reply
Author
Message
bneau View Drop Down
Beginner
Beginner
Avatar

Joined: 06 Sep 10
Location: Paris, France
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote bneau Quote  Post ReplyReply Direct Link To This Post Topic: TIFF files loading fail with AddImageFromFile
    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.
 
By the time I'm posting this topic, I cannot attach a problematic TIFF file but I will do it ASAP. I have now uploaded a buggy tiff file on rapidshare: see http://rapidshare.com/files/417488285/buggy_tiff.tif
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
Back to Top
bneau View Drop Down
Beginner
Beginner
Avatar

Joined: 06 Sep 10
Location: Paris, France
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote bneau Quote  Post ReplyReply Direct Link To This Post Posted: 06 Sep 10 at 8:41PM

Just tried QuickPDF 7.21.

It does fix the problem.
 
It's just awesome.
 
I take it it's "Improvements to handling of CCITT images" ;-)
 
Thanks.
 
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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 07 Sep 10 at 7:37AM
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

Back to Top
bneau View Drop Down
Beginner
Beginner
Avatar

Joined: 06 Sep 10
Location: Paris, France
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote bneau Quote  Post ReplyReply Direct Link To This Post Posted: 07 Sep 10 at 6:23PM
Hey Ingo,
 
Thanks for your valuable input. One thing tho, I couldn't find the option to upload a file.
 
Kind regards,
Benjamin
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 07 Sep 10 at 6:52PM
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


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