<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WebP &#8211; 詩音的blog</title>
	<atom:link href="https://blog.shion-nya.moe/tag/webp/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.shion-nya.moe</link>
	<description>記錄個人資料的地方</description>
	<lastBuildDate>Sat, 02 Sep 2023 18:24:52 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://blog.shion-nya.moe/wp-content/uploads/2023/09/cropped-cat-32x32.png</url>
	<title>WebP &#8211; 詩音的blog</title>
	<link>https://blog.shion-nya.moe</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">223760516</site>	<item>
		<title>網站圖片是否應該使用WebP ?</title>
		<link>https://blog.shion-nya.moe/2023/09/website-picture-webp/</link>
					<comments>https://blog.shion-nya.moe/2023/09/website-picture-webp/#comments</comments>
		
		<dc:creator><![CDATA[詩音]]></dc:creator>
		<pubDate>Fri, 01 Sep 2023 03:26:43 +0000</pubDate>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WebP]]></category>
		<category><![CDATA[圖片]]></category>
		<guid isPermaLink="false">https://shion.me/?p=401</guid>

					<description><![CDATA[最近在研究網站的圖片是否應該改成用WebP呈現，大致上是說壓縮效果比較好，也因為載入速度快了，所以會讓瀏覽體驗 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>最近在研究網站的圖片是否應該改成用WebP呈現，大致上是說壓縮效果比較好，也因為載入速度快了，所以會讓瀏覽體驗更好。但研究了一陣子發現不是所有瀏覽器都支援，現在查起來是比以前更好了，但舊電腦還是會有不支援的情況發生，雖然已經小於5%了。那應該要支援這些瀏覽器嗎?，如果要支援可能就需要兩種圖片檔案都擁有，還有運算是否使用WebP的問題。</p>



<figure data-carousel-extra='{"blog_id":1,"permalink":"https:\/\/blog.shion-nya.moe\/2023\/09\/website-picture-webp\/"}'  class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="392" data-attachment-id="412" data-permalink="https://blog.shion-nya.moe/2023/09/website-picture-webp/20230903-5/" data-orig-file="https://blog.shion-nya.moe/wp-content/uploads/2023/09/20230903-5.png" data-orig-size="1726,660" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="20230903-5" data-image-description="" data-image-caption="" data-medium-file="https://blog.shion-nya.moe/wp-content/uploads/2023/09/20230903-5-300x115.png" data-large-file="https://blog.shion-nya.moe/wp-content/uploads/2023/09/20230903-5-1024x392.png" data-id="412" src="https://blog.shion-nya.moe/wp-content/uploads/2023/09/20230903-5-1024x392.png" alt="" class="wp-image-412" srcset="https://blog.shion-nya.moe/wp-content/uploads/2023/09/20230903-5-1024x392.png 1024w, https://blog.shion-nya.moe/wp-content/uploads/2023/09/20230903-5-300x115.png 300w, https://blog.shion-nya.moe/wp-content/uploads/2023/09/20230903-5-768x294.png 768w, https://blog.shion-nya.moe/wp-content/uploads/2023/09/20230903-5-1536x587.png 1536w, https://blog.shion-nya.moe/wp-content/uploads/2023/09/20230903-5.png 1726w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</figure>



<p>還有一個就是WebP存下來有沒有辦法瀏覽的問題，新電腦也許沒有這問題，還有編輯的方便程度會有所差別。或者是單純想當桌布之類的，windows11看起來是沒有WebP的，如果需要還是要自己再轉檔。WebP似乎在某些情況下也有可能發生檔案更大的狀況。</p>



<p>另外我發現細節多的照片壓縮效果沒有圖片好，也可以對於自己 Blog 內容來決定是否使用WebP格式，我自己的 Blog 照片不少，也希望有更好的畫質和細節，所以目前會維持使用 jpg、png 之類的。不過我並沒有測試對同一張照片未壓縮處理的情況，單純是圖片跑一次WebP的檔案轉換。</p>



<p>我認為主要需要考量的是以下事項</p>



<ul class="wp-block-list">
<li>Blog 內容種類考量，或是圖片用途(單純意境、還是想呈現照片細節)</li>



<li>希望全面支援所有瀏覽器，但如果想使用WebP又想全面支援，勢必需要存著兩種檔案格式的圖片</li>



<li>有無想讓其他人使用(桌布、修改)</li>



<li>希望自己照片細節清楚</li>
</ul>



<h3 class="wp-block-heading">參考資料</h3>



<p><a href="https://caniuse.com/?search=webp" target="_blank" rel="noopener">&#8220;webp&#8221; | Can I use&#8230; Support tables for HTML5, CSS3, etc</a><br><a href="https://make9.tw/wp-shorthand/wp-performance/webp-still-not-recommended/" target="_blank" rel="noopener">WordPress WebP 外掛推薦，仍不推薦採用！ * 造九頑五 (make9.tw)</a><br><a href="https://kamadiam.com/what-is-webp/" target="_blank" rel="noopener">什麼是 WebP，如何使用 WebP 優化 WordPress 速度 » 光輝咖碼 (kamadiam.com)</a><br><a href="https://havecamerawilltravel.com/webp-website/" target="_blank" rel="noopener">Is there any benefit to using WebP images on my website? | WORDPRESS TIPS (havecamerawilltravel.com)</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.shion-nya.moe/2023/09/website-picture-webp/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">401</post-id>	</item>
	</channel>
</rss>
