Smush.it is getting more and more buzz all over the internets. Now there's even a song about it! Me and Nicole are pretty busy answering email, but a little slow to document the thing, I though I should at least shed some light on how the tool works by using some of the presentations.
Smush.it在整个互联网上越来越流行。 现在甚至有一首歌! 我和Nicole忙于回复电子邮件,但记录下来有点慢,尽管我至少应该通过使用一些演示文稿来阐明该工具的工作原理。
What the tool does can be summarized in these steps:
该工具的作用可以归纳为以下步骤:
Turn GIFs into PNG8. Results are reported only if there's a saving, the file name then becomes
source.gif.png
. Smush.it uses imagemagick to do the conversion and then pngcrush to crush the pngs将GIF转换为PNG8 。 仅在保存时才报告结果,然后文件名变为
source.gif.png
。 Smush.it使用imagemagick进行转换,然后使用pngcrush来压缩pngCrush PNGs using pngcrush
使用pngcrush粉碎PNG
Strip JPEG metadata and make them progressive, using jpegtran
使用jpegtran剥离JPEG元数据并使其渐进
GIF animations: use gifsicle to remove pixels that don't change from one frame to another
GIF动画:使用gifsicle删除从一帧到另一帧不变的像素
This has been documented here on developer.yahoo.com together with the command line tools and options.
它已在developer.yahoo.com上与命令行工具和选项一起记录在这里。
So all the tool does is run the appropriate command for each file type. Easy as that 😉 All the tools mentioned are free open-source and available on all operating systems, including Windows.
因此,该工具所做的全部工作是为每种文件类型运行适当的命令。 如此简单😉提到的所有工具都是免费的开源软件,可在包括Windows在内的所有操作系统上使用。
Here are some presentations on slideshare that might explain things a little more:
以下是一些关于幻灯片共享的演示,它们可能会解释得更多:
High-perf web sites - PHP Quebec Montreal, March 2008
高性能网站-蒙特利尔PHP魁北克分校,2008年3月
7 mistakes in image optimization - O'Reilly's Velocity, SFO, June 2008
图像优化中的7个错误-O'Reilly的速度,SFO,2008年6月
Ajax Experience, Boston, earlier this week. Draft 1, Draft 2. The final and shortest version is below. It doesn't say much but the talk was just 5 minutes and included a demo. It's weird how little you can say in 5 minutes, I mean just "hello, my name, ... welcome to blah, blah..." is 20 seconds
本周初,波士顿的Ajax Experience。 草案1 ,草案2 。 最终和最短版本如下。 它并没有说太多,但演讲仅5分钟,其中包括一个演示。 奇怪的是,您在5分钟内只能说几句,我的意思是“你好,我的名字,...欢迎来到等等,等等...”是20秒
Happy smushing!
开心sm!
"Smush it! Smush it real good..." - hothardware.com 😉
“将其涂抹!将其涂抹得真好……”-hothardware.com😉
Tell your friends about this post on Facebook and Twitter
在Facebook和Twitter上告诉您的朋友有关此帖子的信息