Smush.it演示文稿

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来压缩png

  • Crush 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:

以下是一些关于幻灯片共享的演示,它们可能会解释得更多:

  1. High-perf web sites - PHP Quebec Montreal, March 2008

    高性能网站-蒙特利尔PHP魁北克分校,2008年3月

  2. 7 mistakes in image optimization - O'Reilly's Velocity, SFO, June 2008

    图像优化中的7个错误-O'Reilly的速度,SFO,2008年6月

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

Images - 7 mistakes 图片-7个错误
View SlideShare presentation or Upload your own. (tags: images optimization)
查看SlideShare 演示文稿上传自己的 演示文稿。 (标签: 图像 优化)

Happy smushing!

开心sm!

"Smush it! Smush it real good..." - hothardware.com 😉

“将其涂抹!将其涂抹得真好……”-hothardware.com😉

Tell your friends about this post on Facebook and Twitter

FacebookTwitter上告诉您的朋友有关此帖子的信息

翻译自: https://www.phpied.com/smushit-presentations/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值