Bug 237246

Summary: Erratic TIFF thumbnail generation, some crashes
Product: [Applications] digikam Reporter: Paul Verizzo <paulv>
Component: Plugin-DImg-TIFFAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, Julien, paulv
Priority: NOR    
Version: 1.1.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 5.0.0
Sentry Crash Report:

Description Paul Verizzo 2010-05-11 14:52:16 UTC
Version:           1.1.0 (using 4.4.00 (KDE 4.4.0), MS Visual Studio 2008 SP1)
Compiler:          cl.exe
OS:                Microsoft Windows (i686) release 5.1 (XP Professional)

I have a fair number of TIFF images, either from RAW or in-camera generation.  Most of them open just fine in digiKam, but others don't.  All I get is an image of a balloon.  

I've looked for the common denominator(s)like size, 24 or 48 bit, but can't see one.  The only pattern is not even perfect: some folders open better than others.  But I've had several in a folder display and the others don't.  

One small folder of 48 bit images, upon trying to open, crashes digiKam.  I get a generic C++ runtime error message.

I recently got digiKam running on my Knoppix USB stick.  Everything seems much more stable running in Linux. I'll check on this particular bug the next time I fire up Knoppix.
Comment 1 caulier.gilles 2010-05-11 14:56:12 UTC
Try again using digiKam 1.2.0

Gilles Caulier
Comment 2 Paul Verizzo 2010-05-11 16:07:25 UTC
I would love to, but it's not there for Windows yet....as I'm sure you know.

Related to this is my wondering why digiKam MUST run on Windows KDE.  I think that's where a lot of the issues I'm experiencing are coming from.  Windows KDE also installs, without option, about two dozen KDE programs that have nothing to do with digiKam and that I will never, ever use.  

The GIMP and XnView, to name two programs I'm familiar with, don't require KDE.  Please?

FYI, THANK YOU (and the other contributors) for digiKam!  Despite lots of early head banging problems with the scan, I saw through that to the potential.  And it then "made me" spend untold hours trying to do something with Linux to look at the native environment.  I tried Ubuntu Wibu, Ubuntu in Virtual Box, Knoppix off of CD.  I bought an 8GB thumb drive and installed Knoppix to it which allowed me to save all settings - and install/run digiKam.  

digiKam = Adobe Lightroom at a savings of $299!
Comment 3 Marcel Wiesweg 2010-05-11 18:06:53 UTC
The TIFF format offers a choice of different options to store and format the file. Not all of them are currently implemented in digikam.
Additionally, while libtiff provides support to load all these formats as 8bit, digikam wants to open a 16bit image as 16bit, which means we cannot use the libtiff convenience code, and there are a few flavors of TIFF not supported (while other application just open them, based on 8bit)
Comment 4 Paul Verizzo 2010-05-11 19:30:51 UTC
I can't speak to TIFF options, but none are compressed.

The ones in the "48 bit" folder were scans of color negative film and have a file size of 178mb.  If my scanner has TIFF options, I did not elect any.

Others, quite old, were made in camera.

The above mentioned folder that crashes digiKam on Windows has NO problem within Linux.

In fact, digiKam is two different beasts depending on the OS. Fast, reliable, fast to scan even from scratch in Linux. (45,000 images) Many problems in Windows, including inability to scan a particular folder (it took me awhile to notice the pattern) which in Linux does just fine.  Frequently, after manipulating an image on the Windows version, it crashes when I elect to save it.  

Gotta get this wonderful program off of that KDE for windows.
Comment 5 Marcel Wiesweg 2010-05-12 17:53:08 UTC
Ok, then you are most likely experiencing problems due to the state of KDE and digikam on Windows. Personally, I'm not a Windows developer.
Is there any problem that can be reproduced on Linux?
Comment 6 Paul Verizzo 2010-05-13 14:45:56 UTC
I've not spent much time on digiKam on Linux yet, but it indeed is a very different animal, all to the better.  

I, too, had concluded that apparently the issues are due to the KDE in Windows.

All the more reason to divorce this wonderful program and let it run in Windows w/o KDE.  

Are you familiar with XnView?  Apparently also by a Francophone!  It's great in Windows and is also available in Linux, but not the Debian package.  For me, it displaced Irfanview as my preferred photo program.  Now, it's a battle between XnView and DigiKam.  The winner is decided by what I'm trying to do.
Comment 7 caulier.gilles 2010-10-06 10:21:38 UTC
Paul,

Your digiKam version under windows is pretty old. I personnaly fixed some issue under Windows.

I recommend to test with current implementation from svn (1.5.0)

Gilles Caulier
Comment 8 caulier.gilles 2010-11-24 09:08:44 UTC
digiKam 1.6.0 is out:

http://www.digikam.org/drupal/node/550

Please update and check if this entry still valid.

Thanks in advance

Gilles Caulier
Comment 9 Julien Narboux 2010-12-30 09:26:15 UTC
Paul,

Can you please test with digikam 1.7.0 if these bugs are still there ?
There is a windows installer available here:
http://sourceforge.net/projects/digikam/files/digikam/1.7.0/digiKam-installer-1.7-win32.exe/download

Your  feedback is very appraciated because most developpers only use the linux version...

Julien
Comment 10 caulier.gilles 2011-07-06 10:50:39 UTC
digiKam 2.0.0 RC is out for windows. Please try this version and give us feedback

Gilles Caulier
Comment 11 caulier.gilles 2015-07-03 05:59:35 UTC
New digiKam 4.11.0 is available.

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 12 caulier.gilles 2015-07-06 07:40:00 UTC
digiKam 4.11.0 Windows installer is available for download :

http://download.kde.org/stable/digikam/digiKam-installer-4.11.0-win32.exe.mirrorlist
Comment 13 caulier.gilles 2016-05-31 12:10:07 UTC
With next digiKam 5.0.0, we will provide a fully cross-compiled version Windows
under Linux where a lots of problems have been fixed.

https://www.flickr.com/photos/digikam/27033685570/in/dateposted-public/

The Windows installer is available here to test :

https://drive.google.com/open?id=0B7yq-xFihT0_SzhxVzF1RDhPbFE

Gilles Caulier