Bug 302024

Summary: batch image cropping tool
Product: [Applications] digikam Reporter: Thorsten Schnebeck <thorsten.schnebeck>
Component: Plugin-Bqm-CropAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version: 2.6.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 3.0.0
Sentry Crash Report:

Description Thorsten Schnebeck 2012-06-16 21:57:04 UTC
Today I had do crop a lot of screenshots. When trying to do this with digikam (kipi) batch processing I did not found such a basic tool.

So searching the bug database I found:
#152400
https://bugs.kde.org/show_bug.cgi?id=152400
this asks for an digikamimageplugin - I think kipi is the right place

#150854
https://bugs.kde.org/show_bug.cgi?id=150854
An 5 year old wish with a quite complicate crop border handling.
I think: keep it simple start with a simple preview and four sliders to adjust the crop margin. A GUI every movie cut program like handbrake or avidemux offers for removing black borders.

#204135
https://bugs.kde.org/show_bug.cgi?id=204135
This is a special case for cropping without jpeg re-encoding
Still a valid which - can be implemented as an option of this tool.

I opened a new wishlist entry for this to summarize the current bug db situation. Till then I have to use mogrify from imagemagick like this
mogrify -output-directory ./crop -format jpg -crop +0+92 -crop +0-125 -crop +50+0 -crop -50+0 *.png



Reproducible: Always




digikam --version
Qt: 4.8.1
KDE: 4.8.4 (4.8.4)
digiKam: 2.6.0
Comment 1 caulier.gilles 2012-12-28 23:41:15 UTC
Git commit 43e6ca4895a1ff6f2b8f98668635a6a64c2a0741 by Gilles Caulier.
Committed on 29/12/2012 at 00:13.
Pushed by cgilles into branch 'master'.

new Batch Queue Manager to crop image.
BUGS: 266395

M  +1    -0    utilities/queuemanager/CMakeLists.txt
A  +208  -0    utilities/queuemanager/basetools/transform/crop.cpp     [License: GPL (v2+)]
A  +66   -0    utilities/queuemanager/basetools/transform/crop.h     [License: GPL (v2+)]
M  +2    -0    utilities/queuemanager/manager/batchtoolsmanager.cpp

http://commits.kde.org/digikam/43e6ca4895a1ff6f2b8f98668635a6a64c2a0741