jcbfshr
jcbfshr

Reputation: 161

How To Batch Process with pngquant on Mac

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...

Upvotes: 1

Views: 2670

Answers (4)

Pyry Liukas
Pyry Liukas

Reputation: 431

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)

Upvotes: 1

GreenYange
GreenYange

Reputation: 1

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

Upvotes: 0

daveMac
daveMac

Reputation: 3041

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.)

Upvotes: 3

gtgaxiola
gtgaxiola

Reputation: 9331

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....

Upvotes: 1

Related Questions