1

I'm attempting to batch process some images using pngquant and I have realized I don't really know what I'm doing. I'm on a mac and I can navigate to the executable and open it, but after that I can't access any of the functions/features of pngquant.

Basically, I've gotten to the point of ./pngquant, but don't know what to do after that. Any help from anyone?

I've got a couple hundred images to run through, so it would be nice to not have save each of them individually...

daveMac
  • 3,041
  • 3
  • 34
  • 59
jcbfshr
  • 161
  • 1
  • 2
  • 12
  • possible duplicate of [Recursively batch process files with pngquant](http://stackoverflow.com/questions/9647920/recursively-batch-process-files-with-pngquant) – Kornel Apr 07 '12 at 16:48
  • Similar, but most definitely NOT a duplicate. OP is asking for someone to help him understand how to use pngquant in the terminal, not necessarily how to go deep into a file directory—the question is more basic than that. – daveMac Sep 14 '12 at 16:37

4 Answers4

3

If it were me, I would use Tiny Png It does essentially the same thing. (I am very unfamiliar with using the terminal as well.)

daveMac
  • 3,041
  • 3
  • 34
  • 59
1

What exactly are you trying to process?

Here is an example on usage:

./pngquant 256 ../test/*.png

I am running the command from the pngquant directory and pointing it to my test directory where I have all my png files....

gtgaxiola
  • 9,241
  • 5
  • 42
  • 64
1

I would recommend pngquant to osx with the help of Homebrew (which you need to install first)

brew install pngquant
cd path/to/your/images
pngquant 256 *.png (all png-images)
Pyry Liukas
  • 431
  • 6
  • 10
0

You can use Batch tool like a link!Acc image batch process[a panda][1] this can dealwith png,gif,jpg and some other