Mailinglisten-Archive |
Andreas Fuchs wrote:
>
> hallo
>
> hat jemeand ne idee / ansatz wie ich mit php und linux tools ein jpeg bild
> um 90° gedreht anzeigen bzw. abspeichern kann ?
-> andreas
ich benutze zum bearbieten von bildern meist den system("mogrify")
befehl.
auszug aus dem "man"
------
NAME
mogrify - transform an image or sequence of images
SYNOPSIS
mogrify [ options ...] file [ [ options ...] file ...]
DESCRIPTION
mogrify transforms an image or a sequence of images.
These transforms include image scaling, image rotation,
color reduction, and others. The transmogrified image
overwrites the original image.
EXAMPLES
To convert all the TIFF files in a particular directory to
JPEG, use:
mogrify -format jpeg *.tiff
To scale an image of a cockatoo to exactly 640 pixels in
width and 480 pixels in height, use:
mogrify -geometry 640x480! cockatoo.miff
-----------
zu erhalten unter:
ftp://ftp.x.org/contrib/applications/ImageMagick/ImageMagick-4.0.5.tar.gz
dieser befehl ist echt gut und kann eine menge mit dem ihm anvertrauten
bildern anstellen.
viel spaß dabei
cheers
rainer
--
CYWARE Neue Medien GmbH, Häusserstr. 36, D-69115 Heidelberg
Fon: +49 6221 90573 46, Fax: +49 6221 90573 33
Web: http://www.cyware.com
php::bar PHP Wiki - Listenarchive