Bug 126603 - batchprocess: resize 2-dim. broken (creates just a 2k file)
Summary: batchprocess: resize 2-dim. broken (creates just a 2k file)
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-Resize (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-02 13:49 UTC by Achim Bohnet
Modified: 2018-03-23 11:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.8.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Achim Bohnet 2006-05-02 13:49:08 UTC
Version:           0.1.2 (using KDE 3.5.2, Kubuntu Package 4:3.5.2-0ubuntu10 dapper)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-21-686

Bug first reported for Kubuntu/Dapper at
   https://launchpad.net/distros/ubuntu/+source/kipi-plugins/+bug/42280

Bug introduced between beta2 (Kubuntu/Breezy) and kipi rc1 (Dapper).  See:

http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=kipi-plugins&searchon=names&subword=1&version=all&release=all
http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=imagemagick&searchon=names&subword=1&version=all&release=all

To reproduce:

o select on image
o start batchprocess resize plugins
o select Type Proportional (2 Dim)
   Options: 800 x 600, 75 % qual
   bg color: bloack, filter lanzcos, border pix 0 
o overwrite mode: rename, orig not removed

==> ~ 2k big image that shows just black

$ file *
xxxxx-014.jpg:   JPEG image data, EXIF standard 2.1
xxxxx-014_1.jpg: JPEG image data, JFIF standard 1.01
$ ls -l *
-rw-r--r-- 1 ach ach 260757 2005-01-13 01:10 xxxxx-014.jpg
-rw-r--r-- 1 ach ach   2036 2006-05-02 09:40 xxxxx-014_1.jpg


Resize with Proportinal (1-dim) works.  Prepare to print, gave no output at all, despite claiming it created a new one.

Mhmm, adding a debug statement that prints the used cmd line for
the imagemagick tool may help to track down future bugs like this.

Achim
Comment 1 Stefan Thieme 2008-07-20 20:59:28 UTC
verified reproduction path on kubuntu gutsy, i.e. kipi-plugins 0.1.4-1build1

workaround as stated using 1 dimension works fine.

Proposal to either remove the 2 dim option or fix it in a future version.
Comment 2 Johannes Wienke 2009-10-01 14:17:18 UTC
This should have been fixed / outdated with my patch here:
https://bugs.kde.org/show_bug.cgi?id=206357
Comment 3 caulier.gilles 2009-10-01 14:22:46 UTC
Sound like fixed, yes...

Gilles Caulier