开发者

mass image optimizer

I have a folder with 开发者_JS百科about 5000 images in it.

I can use php, or software on a local version of the images if required.

Whats the best way to go through and optimize/shrink their size/compress them as quickly and efficiently as possible to 20 width and 20 height?

Anything with a GUI that works on XP?


Tools like mogrify or convert (from ImageMagick) will do just fine, when it comes to resizing images.

After, if you want to optimize your images further (reducing their size in bytes), you should take a look at software like :

  • optipng or pngcrush for PNG,
  • or jpegtran for JPEG


If your goal is optimization for a website, take a look at Best Practices for Speeding Up Your Web Site - Images and the points which follow (I'm especially thinking about CSS Sprites)



Edit after edit of the OP : hu... a GUI ? No idea, sorry (I have those kind of tools run automatically, from scripts, on Linux servers).

Why not just write a script that will call those tools on all your images, and let it run for the night ?


Use either of imagemagick or GD2 .. GD2 is already bundled in the newer versions (5.0+) of PHP. This way, you won't have to install new extension.


This tutorial is what you are looking for.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜