Hi,
I've got a shellscript running errorless with Debian (bash). Now I want to start the same script with rxvt and I get an error. This is the command that causes the error:
sh-3.00# convert -resize 120x120 /mnt/hdc1/bilder/test.jpg
convert: missing an image filename `/mnt/hdc1/bilder/test.jpg'.
Why do I get this message? I tried several quotation marks but nothing works. Can someone give me a help.
Oli
Bash script converts jpeg in Debian, won't work in Puppy.
Some additional informations:
sh-3.00# which convert
/usr/bin/convert
sh-3.00# convert --version
Version: ImageMagick 6.2.9 08/15/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC
The original part of the shell script is:
convert -geometry ${groesse}% -quality $qualitaet $datei $THUMB/$datei
Oli
sh-3.00# which convert
/usr/bin/convert
sh-3.00# convert --version
Version: ImageMagick 6.2.9 08/15/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC
The original part of the shell script is:
convert -geometry ${groesse}% -quality $qualitaet $datei $THUMB/$datei
Oli
Maybe this is old (?):
http://amath.colorado.edu/computing/sof ... nvert.html
They list -size and -geometry as an option, not -resize.
http://amath.colorado.edu/computing/sof ... nvert.html
They list -size and -geometry as an option, not -resize.
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Do you have something mounted at hdc?oli wrote:sh-3.00# convert -resize 120x120 /mnt/hdc1/bilder/test.jpg
convert: missing an image filename `/mnt/hdc1/bilder/test.jpg'.
If the image is in a CD and you mounted it with MUT, it usually mounts to /mnt/hdc.
The bottom line is: Use rox to navigate where the file is and make sure that you are using exactly the same location when you call the script.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
Thanks for your answers. Of course the filename is correct (I use the tabulator to complete the names of directories and filenames). And convert -resize is a valid command too. I used this command only as an example, my command in the shell-script uses -geometry and -quality. And this command works with Debian Bash-Shell without an error. The error must have another cause.
Here is the error-message with the -geometry option:
sh-3.00# convert -geometry 10% /mnt/hdc1/bilder/test.jpg /mnt/hdc1/bilder/test2.jpg
convert: no decode delegate for this image format `/mnt/hdc1/bilder/test.jpg'.
convert: missing an image filename `/mnt/hdc1/bilder/test2.jpg'.
I use puppy2.10r1 .
Do you have another idea?
Oli
Here is the error-message with the -geometry option:
sh-3.00# convert -geometry 10% /mnt/hdc1/bilder/test.jpg /mnt/hdc1/bilder/test2.jpg
convert: no decode delegate for this image format `/mnt/hdc1/bilder/test.jpg'.
convert: missing an image filename `/mnt/hdc1/bilder/test2.jpg'.
I use puppy2.10r1 .
Do you have another idea?
Oli
you might try one of these dotpups, they work for me.
For example 6.2.3
sh-3.00# convert -geometry 10% 1.jpg test2.jpg
sh-3.00#
The 6.2.4 can not be uninstalled, I think I had used it before for tests.
Later installed 6.2.3, that overwrote 6.2.4.
http://dotpups.de/dotpups/Graphics/
Mark
For example 6.2.3
sh-3.00# convert -geometry 10% 1.jpg test2.jpg
sh-3.00#
The 6.2.4 can not be uninstalled, I think I had used it before for tests.
Later installed 6.2.3, that overwrote 6.2.4.
http://dotpups.de/dotpups/Graphics/
Mark
I tried 6.2.4 and 6.2.3 too. But the error occur again. Therefore I decided to make a new dotpup of imagemagick, based on the stable version of Debian (imagemagick 6.0.6.2-2.7). Now everything seems to work. I posted this dotpup in the forum (additional software):
http://www.murga.org/~puppy/viewtopic.php?p=75371#75371
Oli
http://www.murga.org/~puppy/viewtopic.php?p=75371#75371
Oli