[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bildgröße mit Imagemagick verändern



On Thu, Feb 07, 2008 at 10:43:46AM +0100, Klaus Becker wrote:

> Kann man eine feste Höhe eingeben, wobei die Breite dynamisch verändert wird, 
> Klaus

Quelle: /usr/share/doc/imagemagick/www/convert.html

–resize width
–resize width{%}{@} {!} {<} {>}

resize an image.

By default, the width and height are maximum values. That is, the image is expanded or contracted to fit the width and height
value while maintaining the aspect ratio of the image. Append an exclamation point to the geometry to force the image size to
exactly the size you specify. For example, if you specify 640x480! the image width is set to 640 pixels and height to 480.

If only the width is specified, the width assumes the value and the height is chosen to maintain the aspect ratio of the image.
Similarly, if only the height is specified (e.g., –resize x256, the width is chosen to maintain the aspect ratio.

To specify a percentage width or height instead, append %. The image size is multiplied by the width and height percentages to
obtain the final image dimensions. To increase the size of an image, use a value greater than 100 (e.g. 125%). To decrease an
image's size, use a percentage less than 100.


Grüße
Adriana
	     


Reply to: