Any ImageMagick experts?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shoplifter
    Richest man in Babylon
    • Jan 2002
    • 5891

    #1

    Any ImageMagick experts?

    I want to run an ImageMagick batch operation on a directory full of pictures.

    I know the command that I want to run, but I don't have a batch script that will loop through all the pics.

    Anyone have anything like that?

    Thanks!
    I Like Blondes
  • fris
    I have to go potty
    • Aug 2002
    • 55897

    #2
    whats the command

    you can do mogrify -resize 800x600 *.jpg

    for example
    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


    My Newest Theme

    Comment

    • Shoplifter
      Richest man in Babylon
      • Jan 2002
      • 5891

      #3
      Originally posted by fris
      whats the command

      you can do mogrify -resize 800x600 *.jpg

      for example

      Thanks fris... It didn't occur to me it would work with wildcards.
      I Like Blondes

      Comment

      • fris
        I have to go potty
        • Aug 2002
        • 55897

        #4
        Originally posted by Shoplifter
        Thanks fris... It didn't occur to me it would work with wildcards.
        but this will overwrite the orig image, so you would need to make a backup or you could do something like

        Code:
        for i in *.jpg; do mogrify -resize 800x600 temp/$i; done
        temp being a temp dir where it will store
        Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


        My Newest Theme

        Comment

        Working...