Find the answer to your Linux question:
Results 1 to 2 of 2
Hello everybody. I'd like to resize alot of images. (.jpg) to 3 other formats. To do this i use imagemagick. Now i've got a little problem. The command i use ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    2

    imagemagick problem


    Hello everybody.

    I'd like to resize alot of images. (.jpg) to 3 other formats. To do this i use imagemagick.
    Now i've got a little problem. The command i use is this:
    Code:
    for image in *.jpg
    do
    convert -geometry 500x400 $image 500x400/$image
    convert -geometry 350x150 $image 350x150/$image
    convert -geometry 80x50 $image 80x50/$image
    echo $image
    done
    It scale good, but a image of 1280x1024 is scaled to 62x50! :S
    Now i would like to fill the rest of the image with white. Is this possible? And how would the command be?

    My last question: how to use the watermark option?

    Thanks in advance

  2. #2
    Just Joined! windangel44's Avatar
    Join Date
    Dec 2006
    Posts
    20
    Take a look at this page. It discusses adding a white background to fill space and adding a watermark. It may get you started.

    How to make watermarks using ImageMagick

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •