<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://wired.scio.icu/index.php?action=history&amp;feed=atom&amp;title=%E5%9B%BE%E5%83%8F%E5%8E%8B%E7%BC%A9</id>
	<title>图像压缩 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wired.scio.icu/index.php?action=history&amp;feed=atom&amp;title=%E5%9B%BE%E5%83%8F%E5%8E%8B%E7%BC%A9"/>
	<link rel="alternate" type="text/html" href="https://wired.scio.icu/index.php?title=%E5%9B%BE%E5%83%8F%E5%8E%8B%E7%BC%A9&amp;action=history"/>
	<updated>2026-06-25T10:44:15Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wired.scio.icu/index.php?title=%E5%9B%BE%E5%83%8F%E5%8E%8B%E7%BC%A9&amp;diff=69&amp;oldid=prev</id>
		<title>Scio：​导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://wired.scio.icu/index.php?title=%E5%9B%BE%E5%83%8F%E5%8E%8B%E7%BC%A9&amp;diff=69&amp;oldid=prev"/>
		<updated>2024-12-30T06:15:02Z</updated>

		<summary type="html">&lt;p&gt;导入1个版本&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2024年12月30日 (一) 14:15的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;zh&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key Wired:diff:1.41:old-68:rev-69 --&gt;
&lt;/table&gt;</summary>
		<author><name>Scio</name></author>
	</entry>
	<entry>
		<id>https://wired.scio.icu/index.php?title=%E5%9B%BE%E5%83%8F%E5%8E%8B%E7%BC%A9&amp;diff=68&amp;oldid=prev</id>
		<title>2024年12月26日 (四) 04:47 Scio</title>
		<link rel="alternate" type="text/html" href="https://wired.scio.icu/index.php?title=%E5%9B%BE%E5%83%8F%E5%8E%8B%E7%BC%A9&amp;diff=68&amp;oldid=prev"/>
		<updated>2024-12-26T04:47:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;根据我自己的体验，以及浏览的他人的文章来看可以简单得出结论：普遍情况下，&lt;br /&gt;
&lt;br /&gt;
* jpg/png等传统格式兼容性强，webp/avif格式压缩效率高；其中webp支持无损因此对高质量图像效果更好，avif更适合低分辨率场景，1000px以下完胜其他格式（对于线条规则且内容很少的svg更适合）；对于有损的高质量文件则jxl更适合。&lt;br /&gt;
* avif压缩消耗的资源也更多，无损压缩的表现并不乐观，因此很适合非摄影、设计等对图片质量有高要求的个人博客(用于补充文本信息，所提示用)使用，对系列站点这种1c2g1m的小机子来说，减少的体积节约的带宽占用是很香的。&lt;br /&gt;
** 主要用在《食日记》中，原始图像分辨率为4032*3024，缩放到1200*900，并以600*450px引用（firefox系浏览器可以[[浏览器拓展工具记录#Imagus|安装拓展]]或右键标签页打开1200px的图像）&lt;br /&gt;
&lt;br /&gt;
我使用[https://imagemagick.org/index.php ImageMagick]&lt;br /&gt;
&lt;br /&gt;
* 转换：&amp;lt;code&amp;gt;convert 20230825.jpg -resize 1200x900 20230825.AVIF&amp;lt;/code&amp;gt;&lt;br /&gt;
* 批量转换：&amp;lt;code&amp;gt;mogrify -resize 1200x900 -format avif *.jpg&amp;lt;/code&amp;gt;&lt;br /&gt;
* convert和mogrify最直观的区别是，前者不会覆盖原始文件，后者可以，但如果转了格式也不能覆盖原始文件。&lt;br /&gt;
&lt;br /&gt;
ImageMagick指南：&lt;br /&gt;
&lt;br /&gt;
* [https://imagemagick.org/Usage/ Examples of ImageMagick Usage]&lt;br /&gt;
* [https://wiki.archlinux.org/title/ImageMagick ImageMagick - archlinux wiki]&lt;br /&gt;
* [https://linux.die.net/man/1/convert convert(1) - Linux man page]&lt;br /&gt;
* [https://www.smashingmagazine.com/2015/06/efficient-image-resizing-with-imagemagick/ Efficient Image Resizing With ImageMagick]&lt;br /&gt;
&lt;br /&gt;
其他工具推荐：&lt;br /&gt;
&lt;br /&gt;
* [https://trimage.org/ trimage]：(jpg/png)无损压缩，支持图形化界面。&lt;br /&gt;
* [https://github.com/Huluti/Curtail curtail]：(jpg/jpeg/WebP/svg )有损/无损压缩，支持图形化界面，用法参考：[https://www.makeuseof.com/compress-image-files-on-linux-using-curtail/ How to Compress Image Files on Linux Using Curtail]。&lt;br /&gt;
* [https://github.com/dropbox/lepton Lepton]（已停止维护）：无损(jpg)压缩，用法参考：[https://manpages.ubuntu.com/manpages/focal/man1/lepton.1.html ubuntu manpages]，windowso可以使用：[https://www.downloadcrew.com/article/34699-leptongui LeptonGUI]。&lt;br /&gt;
* [https://pngquant.org/ pngquant]：有损(png)压缩，用法参考[https://github.com/kornelski/pngquant github]。&lt;br /&gt;
* [https://github.com/JayXon/Leanify Leanify]：无损文件压缩器。&lt;br /&gt;
* [https://github.com/fhanau/Efficient-Compression-Tool Efficient-Compression-Tool]：无损压缩，用法参考：[https://www.thegeekdiary.com/ect-efficient-compression-tool/ thegeekdiary]&lt;br /&gt;
&lt;br /&gt;
参考文章：&lt;br /&gt;
&lt;br /&gt;
* [https://ma.ttias.be/optimize-size-png-images-automatically-webserver-optipng/ Optimize the size of .PNG images automatically on your webserver with optipng]&lt;br /&gt;
&lt;br /&gt;
* https://news.ycombinator.com/item?id=17540712&lt;br /&gt;
&lt;br /&gt;
别人的对比文章：&lt;br /&gt;
&lt;br /&gt;
* [https://siipo.la/blog/is-webp-really-better-than-jpeg Is WebP really better than JPEG?]&lt;br /&gt;
* [https://siipo.la/blog/whats-the-best-lossless-image-format-comparing-png-webp-avif-and-jpeg-xl What’s the best lossless image format? Comparing PNG, WebP, AVIF, and JPEG XL]&lt;br /&gt;
* [https://netflixtechblog.com/avif-for-next-generation-image-coding-b1d75675fe4 AVIF for Next-Generation Image Coding]&lt;br /&gt;
* [https://medium.com/open-pbs/experimenting-with-png-and-jpg-optimization-d1428e24928c Experimenting with PNG and JPG Optimization]&lt;br /&gt;
* [https://www.olegkikin.com/png_optimizers/ Comparison of lossless PNG compression tools]&lt;br /&gt;
* https://twitter.com/jonsneyers/status/1563442356493230080&lt;br /&gt;
[[Category:策略]]&lt;/div&gt;</summary>
		<author><name>Scio</name></author>
	</entry>
</feed>