Bug 147823

Summary: Batch processing tasks does not do the job
Product: [Applications] digikam Reporter: Lorand Somogyi <lorand.somogyi>
Component: BatchQueueManager-PluginsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: agateau, caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:
Attachments: TIFF for testing

Description Lorand Somogyi 2007-07-12 22:43:40 UTC
Version:           unknown (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu14)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.20-16-generic

Menu: Tools>Batch Process>...

Most (or maybe all) of the tasks finishes like they did the job, but nothing happens. 
The time consumption looks realistic - the job is probably done in the background, but there is no output of it.

Working with 16 bit TIFF images. Rename, convert, resize, border does not do the job for sure.
Comment 1 caulier.gilles 2008-03-20 14:54:42 UTC
Lorand,

This entry still valid to use last stable kipi-plugins ?

Gilles Caulier
Comment 2 Lorand Somogyi 2008-03-20 19:50:16 UTC
Still not working. I'm using Hardy (unstable) version of Ubuntu.

It looks like there is a version conflict between Kipi and ImageMagick.

imageMagick: 7:6.3.7.9.dfsg1-2ubuntu1 (hardy)
kipi-plugins: 0.1.5~beta1-3ubuntu1(hardy)
likipi0: 0.1.5-2 (hardy)
digikam: 2:0.9.3-1build2 (hardy)

When processing for each picture I get a popup error window: "Cannot run properly 'convert' program from 'ImageMagick' program."

Comment 3 caulier.gilles 2008-12-07 21:32:08 UTC
Lorand,

This file still valid using kipi-plugins 0.1.6 ?

Gilles Caulier
Comment 4 Lorand Somogyi 2008-12-14 08:49:27 UTC
Still not working, but this time it reports error: "The 'convert' program form 'ImageMagick' package has been stopped abnormally." - reported form TIFF to JPEG convert.

imageMagick:  7:6.3.7.9.dfsg1-2ubuntu3
kipi-plugins: 0.1.5-1ubuntu2
likipi0: 0.1.6-1ubuntu1
digikam: 2:0.9.4-1ubuntu1

ImageMagick convert works fine. 
Comment 5 Aurelien Gateau 2009-01-03 00:46:30 UTC
I have no idea what could cause such a bug. Can you try running convert manually on the tiff file. Something like this:

convert myfile.tiff myfile.jpeg
Comment 6 Lorand Somogyi 2009-01-03 05:21:21 UTC
Tested on the same file, convert from command line works without any error and produces 2 jpeg images:

convert ../_DSC3511-ir-b.tiff test.jpg

output is: 
-rw-r--r-- 1 xxxxx xxxxx 2190448 2009-01-03 05:17 test-0.jpg
-rw-r--r-- 1 xxxxx xxxxx    4191 2009-01-03 05:17 test-1.jpg

(no upgrade since last report)

*This time 8 bit depth tiff image.
Comment 7 Aurelien Gateau 2009-01-08 11:00:06 UTC
Hum... maybe this is because the tiff contains multiple images. Can you try running it on tiff files which contain only one image? Can you also attach the tiff file to this report?
Comment 8 Lorand Somogyi 2009-01-19 15:04:10 UTC
Created attachment 30418 [details]
TIFF for testing

Single image TIFF for testing.
Comment 9 Lorand Somogyi 2009-01-19 15:07:22 UTC
Sorry for the long delay. First of all, it is not because of multiple images in TIFF. 

I've just attached a TIFF file for testing. This is a single image, non-compressed TIFF file. The bug is the same. 

The strange thing is that this works for PNG or JPEG files, while it fails for TIFF-s.
Comment 10 Aurelien Gateau 2009-01-19 15:59:58 UTC
SVN commit 913587 by gateau:

Do not use -verbose: convert crashes (!) when it's set for certain images.
BUG: 147823


 M  +0 -2      convertimagesdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=913587
Comment 11 Aurelien Gateau 2009-01-19 16:02:01 UTC
Thanks for the test image, as you can see I was able to reproduce and fix the bug. It seems convert and other ImageMagick utilities crash when invoked with -verbose on this image.

You may want to report this bug to ImageMagick devs too!