[Kde-imaging] [Bug 279182] New: batch resize fails possibly due to timestamp in filename
Oliver Henshaw
yoho_ahoy at hotmail.com
Tue Aug 2 16:01:06 UTC 2011
https://bugs.kde.org/show_bug.cgi?id=279182
Summary: batch resize fails possibly due to timestamp in
filename
Product: kipiplugins
Version: 1.9.0
Platform: Fedora RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: BatchProcessImages
AssignedTo: kde-imaging at kde.org
ReportedBy: yoho_ahoy at hotmail.com
Version: 1.9.0 (using KDE 4.6.5)
OS: Linux
Batch resizing fails when the image filename includes a ':' as part of a
timestamp. This used to work in fedora 13, and no longer does after an update
to fedora 15. I can also reproduce the problem with convert called from the
command line, in the manner of
https://projects.kde.org/projects/extragear/graphics/kipi-plugins/repository/revisions/master/entry/batchprocessimages/tools/resizecommandbuilder.cpp#L119
With straight convert,
$ convert -resize 1024x600 -verbose test.jpg small/test.jpg
test.jpg JPEG 1944x2592 1944x2592+0+0 8-bit DirectClass 2.651MB 0.140u 0:00.160
test.jpg=>small/test.jpg JPEG 1944x2592=>450x600 450x600+0+0 8-bit DirectClass
147KB 0.510u 0:00.210
$ convert -resize 1024x600 -verbose test-18\:37.jpg small/test-18\:37.jpg
test-18:37.jpg JPEG 1944x2592 1944x2592+0+0 8-bit DirectClass 2.651MB 0.130u
0:00.139
test-18:37.jpg=>small/test-18:37.jpg JPEG 1944x2592=>450x600 450x600+0+0 8-bit
DirectClass 147KB 0.500u 0:00.240
when specifying the first frame things go wrong,
convert -resize 1024x600 -verbose test.jpg[0] small/test.jpg
test.jpg[0]=>test.jpg JPEG 1944x2592 1944x2592+0+0 8-bit DirectClass 2.651MB
0.170u 0:00.189
test.jpg[0]=>small/test.jpg JPEG 1944x2592=>450x600 450x600+0+0 8-bit
DirectClass 147KB 0.480u 0:00.179
convert -resize 1024x600 -verbose test-18\:37.jpg[0] small/test-18\:37.jpg
convert: no decode delegate for this image format `37.jpg' @
error/constitute.c/ReadImage/532.
convert: missing an image filename `small/test-18:37.jpg' @
error/convert.c/ConvertImageCommand/2949.
http://www.imagemagick.org/Usage/files/#read_frames suggests putting single
quotes around the frame specifier will help, but it seems to make no
difference.
Reproducible: Always
Steps to Reproduce:
See above.
Expected Results:
.
As I can reproduce the problem on the command line, I think this change came
from either of:
bash-4.1.7-1.fc13.x86_64 -> bash-4.2.10-4.fc15.x86_64
ImageMagick-6.5.8.10-7.fc13.x86_64 -> ImageMagick-6.6.5.10-19.fc15.x86_64
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kde-imaging
mailing list