Bug 163166

Summary: Tool cannot be used on large photographs
Product: [Applications] digikam Reporter: Dik Takken <kde>
Component: Plugin-Editor-SharpenAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 0.9.4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 2.4.0

Description Dik Takken 2008-06-03 22:04:01 UTC
Version:           0.9.4-beta4 (using KDE 3.5.8)
OS:                Linux

Using the refocus plugin on large photographs consistently crashes DigiKam (SIGABRT), while some other plugins work just fine. Perhaps this plugin is trying to allocate a single, large chunk of memory, causing the program to fail...

It would be great if this plugin can be made to work well when used on very large files.
Comment 1 caulier.gilles 2008-06-03 22:32:18 UTC
Dik,

Whitch size exactly ? 

Are you a backtrace of the scratch ?

Gilles Caulier
Comment 2 Andi Clemens 2008-07-23 18:29:56 UTC
This could be a CImg issue? Like Gilles said, can you provide a backtrace?
Comment 3 Andi Clemens 2008-07-23 18:32:24 UTC
Oops refocus is not used with CImg... I thought of restoration plugin.. sorry!
Comment 4 caulier.gilles 2008-07-23 23:14:03 UTC
Yes, it's not CImg. The memory consuming in refocusing is duing of a copy of image block around the whole image (i think). Look refocusing dialog implementation for details.

Gilles Caulier
Comment 5 Dik Takken 2008-08-16 22:04:05 UTC
I can't get a sane backtrace unfortunately. I use DigiKam to work on 50 megapixel 16-bit photographs, scanned from 6x6 cm slides.
Comment 6 Andi Clemens 2009-10-01 20:16:18 UTC
Is this report still valid? If so, can you upload an example image somewhere?

Andi
Comment 7 caulier.gilles 2011-11-16 14:16:26 UTC
Dik,

Do you see comment #6 from Andi ?

Gilles Caulier
Comment 8 Dik Takken 2011-11-17 07:51:49 UTC
I cannot reproduce this problem, I guess it's been fixed.