Page 1 of 1
Crop Resize Windows/Debian
Posted: 2014-03-14T14:14:57-07:00
by spooky_1999
Hallo i use the following parameters to convert crop/resize/zoom in-out under windows and it works perferct for me:
Code: Select all
convert "source.jpg" -resize "1920x500^" -gravity center -crop 1920x500+0+0 +repage "destination.jpg"
under debian i get the following error:
convert: invalid argument for option `1920x500^': -resize.
if i remove the
^ - i get a fullsize 1920x1080 pic/not croped but zommed. Any ideas?
Greets from germany and sorry for my bad english...
sven
Re: Crop Resize Windows/Debian
Posted: 2014-03-14T14:45:05-07:00
by dlemstra
What is your ImageMagick version?
Re: Crop Resize Windows/Debian
Posted: 2014-03-14T14:55:57-07:00
by fmw42
From the changelog:
2008-01-24 6.3.8-2 Cristy <quetzlzacatenango@image...>
Support a ^ meta character in an image geometry (.e.g convert 640x480.png -resize 240^ returns a 320x240 result).
If your IM version is older than 6.3.8-2, then this option is not available and you would have to upgrade or script an equivalent test and resize.
Re: Crop Resize Windows/Debian
Posted: 2014-03-14T15:22:29-07:00
by spooky_1999
i have ImageMagick 6.3.7 11/16/10 Q16 on linux and ImageMagick 6.5.1-1 2009-04-10 Q16 on Windows
i use debian lenny .. all is automatically updated/upgraded but lenny is a bit older.
can i manual download and install a newer version without trouble ?
Re: Crop Resize Windows/Debian
Posted: 2014-03-14T16:57:50-07:00
by fmw42
On windows you can install a binary without too much effort. Though I am not windows users. On unix, you have to download and compile each delegate library and then download the IM sources and install that.
see
http://www.imagemagick.org/script/binar ... hp#windows
http://www.imagemagick.org/script/insta ... e.php#unix
http://www.imagemagick.org/script/advan ... lation.php
Re: Crop Resize Windows/Debian
Posted: 2014-03-15T04:24:34-07:00
by spooky_1999
Hallo,
i have uninstalled the old version and followed your second link.
the result 1 fail:
FAIL: tests/wandtest.tap 1
make[5]: Entering directory `/install/ImageMagick-6.8.8-8'
make all-recursive
make[6]: Entering directory `/install/ImageMagick-6.8.8-8'
Making all in .
make[7]: Entering directory `/install/ImageMagick-6.8.8-8'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/install/ImageMagick-6.8.8-8'
make[6]: Leaving directory `/install/ImageMagick-6.8.8-8'
make[5]: Leaving directory `/install/ImageMagick-6.8.8-8'
============================================================================
Testsuite summary for ImageMagick 6.8.8
============================================================================
# TOTAL: 40
# PASS: 39
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to
http://www.imagemagick.org
============================================================================
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory `/install/ImageMagick-6.8.8-8'
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory `/install/ImageMagick-6.8.8-8'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/install/ImageMagick-6.8.8-8'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/install/ImageMagick-6.8.8-8'
make: *** [check] Error 2
additonally if i enter convert i got only these message
-bash: /usr/bin/convert: No such file or directory
and nothing will work
