Any PSD to PNG batch converter?

Discussion in 'Mac Apps and Mac App Store' started by hzxu, Nov 29, 2010.

  1. hzxu macrumors regular

    Joined:
    Dec 17, 2008
    #1
    Hi, I am looking for a converter which batch converts(at least) PSD to PNG, plus there should be some basic manipulation functions such like resize, is there a software which can do this? A free one is preferred.

    Thanks a lot!
     
  2. simsaladimbamba

    Joined:
    Nov 28, 2010
    Location:
    located
    #2
  3. hzxu thread starter macrumors regular

    Joined:
    Dec 17, 2008
    #3
    Thanks for your reply, but that software is not free. I found another way of doing this via ImageMagick(it can be installed via MacPort, search MacPort and you'll find download address).

    The method is simple, in terminal, go to the directory or folder where the PSD files are stored, then run a script containing the following:

    Code:
    #!/bin/bash
    for i in *psd
    do
        name=${i%.psd}
        convert "$name.psd[0]" -resize XxY "$name.png"
    done
    
    Where XxY is the size you want to scale to, or use X% (like 50%).

    Cheers.
     

Share This Page