Web Masters Site All For Web Masters

9Jan/100

Batch Image Resize on Linux

You can easily resize any images in your directory or entry server with help of ImageMagick Libraries if you don't have it you can easily install it by this commands

Ubuntu - sudo apt-get install imagemagick

CentOs - yum install ImageMagick

ok if you installed it, you can use "mogrify" command to resize your images for example if you want to resize all images with jpg extension in directory use this command

mogrify -resize 800×600! *.jpg

this means that all images with extension .jpg will be resized at 800x600, you can change jpg to any image extension you want to resize such as png, gif.......

Filed under: Linux SA Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

 

No trackbacks yet.