Bug 154262 - Unable to load tiff file
Summary: Unable to load tiff file
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-DImg-TIFF (show other bugs)
Version: 0.9.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-18 04:30 UTC by Pierre Lepage
Modified: 2022-01-18 16:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 7.6.0
Sentry Crash Report:


Attachments
Sample of a tiff file generated from XSane v 0.994 (153.53 KB, image/tiff)
2007-12-18 04:33 UTC, Pierre Lepage
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Lepage 2007-12-18 04:30:26 UTC
Version:           0.9.2-final (using KDE 3.5.7, compiled sources)
Compiler:          Target: i586-mandriva-linux-gnu
OS:                Linux (i686) release 2.6.22.9-desktop-1mdv

Tiff files generated from XSane (v. 0.994) doesn't load in digikam. The error message (in french) is "Impossible de créer l'aperçu pour (file name here)".

The same thing appears in Showfoto but the thumbnail is visible.
Comment 1 Pierre Lepage 2007-12-18 04:33:10 UTC
Created attachment 22606 [details]
Sample of a tiff file generated from XSane v 0.994

This is a sample image file that cause digikam error message.
Comment 2 caulier.gilles 2007-12-18 06:09:28 UTC
there is no crash here.

Gilles Caulier
Comment 3 caulier.gilles 2007-12-18 19:13:32 UTC
Marcel, 

this tiff file is compressed used JPEG codec. I think we don't have include this case in DImg::TiffLoader. Right ?

Here gimp and imagemagick can open the tiff file.

Gilles
Comment 4 Pierre Lepage 2007-12-30 01:04:54 UTC
If this new informations can help you. Digikam can load B&W tiff file with JPEG codec but not color one. Also, if in XSane preferences, I choose "pack bits" as 8 bits compression option for color picture scanned as a tiff file, Digikam can read and show the picture.

Well, I scanned a lot of color pictures with JPEG codec and saved as tiff files. So, it will be nice a solution will be found in Digikam.

Thanks
Comment 5 caulier.gilles 2008-03-18 14:04:02 UTC
Pierre,

The problem still valid with 0.9.3 ?

Gilles Caulier
Comment 6 Pierre Lepage 2008-03-26 01:38:54 UTC
Gilles, 
 
 I solved the problem by converting all 
 pictures with a batch process. 
 
 Today, I have just completed the 
 compilation of version 0.9.4. I will do a try 
 with the "problematic" TIFF format as soon as possible. 

I forgot to give it a try with version 0.9.3
Comment 7 caulier.gilles 2008-12-05 22:20:31 UTC
Pierre,

What's news about this file ? It still valid using digiKam 0.9.4 ?

Gilles Caulier
Comment 8 caulier.gilles 2008-12-06 07:34:55 UTC
Message from Pierre by private mail:

--------------------------------------------------------------------------

Now, I use digikam 0.10 under KDE4. Since my first bug report, I don't
experiment a similar problem again.

regards

Pierre Lepage

--------------------------------------------------------------------------

I close this file now.

Gilles Caulier