amp-web-push-widget button.amp-subscribe { display: inline-flex; align-items: center; border-radius: 5px; border: 0; box-sizing: border-box; margin: 0; padding: 10px 15px; cursor: pointer; outline: none; font-size: 15px; font-weight: 500; background: #4A90E2; margin-top: 7px; color: white; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .amp-logo amp-img{width:190px} .amp-menu input{display:none;}.amp-menu li.menu-item-has-children ul{display:none;}.amp-menu li{position:relative;display:block;}.amp-menu > li a{display:block;} /* Inline styles */ img.acss139cf{background-color:#0866FF;}img.acss6ea51{background-color:#12AF0A;}img.acss43e08{background-color:#888990;}img.acss69ec8{background-color:#1A1A1A;}img.acssc8f88{background-color:#0166ff;}div.acss138d7{clear:both;}div.acssf5b84{--relposth-columns:3;--relposth-columns_m:2;--relposth-columns_t:2;}div.acss3e344{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2017/12/google-chrome-windows-store-640x443-150x150.jpeg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss6bdea{color:#333333;font-family:Arial;font-size:12px;height:75px;}div.acss8f571{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2022/06/whatsapp-logo-150x150.png) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acssaa85b{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2017/08/3M-wing1-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss8fee4{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2019/11/PhotoGrid_1574241184523_compress38-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;} .ai-align-left * {margin: 0 auto 0 0; text-align: left;} .ai-align-right * {margin: 0 0 0 auto; text-align: right;} .ai-center * {margin: 0 auto; text-align: center; } .icon-widgets:before {content: "\e1bd";}.icon-search:before {content: "\e8b6";}.icon-shopping-cart:after {content: "\e8cc";}
即時新聞

Google 推出圖片壓縮神器《Squoosh》 圖片瘦身逾 80%

過去要壓縮圖片,可能要在網上找一些操作不便,壓縮力度不均的第三方圖片壓縮工具,現在 Google 也推出了自家圖片壓縮工具了。

Google 在 Chrome Dev Summit 發佈了自家圖片壓縮引擎 Squoosh,支援轉換至 OptiPNG、MozJPEG、WebP、瀏覽器用 PNG、JPG 和 WebP 檔案,左下角和右下角會顯示工具列,中間顯示比較線,拉動它可作原圖以及不同壓縮之間的比較。

[the_ad_placement id=”ad2″]

[the_ad_placement id=”ad2″]

[the_ad_placement id=”ad2″]

圖片容量壓縮超 80%

與其他圖片壓縮工具一樣,工具會顯示經不同檔案格式壓縮之後的檔案大小,用戶可以在「Compress」選擇格式,移動橫桿選擇質素,也可以調整圖片大小、減少色版,最後點選在左下角或者右下角淺藍色的小圖示將壓縮後的照片儲存到電腦之中。

小編把一張 1.67MB 解像度 4032 × 3024 的照片上載 Squoosh 在 0.25 質素「Browser JPEG」壓縮之下,在解像度沒有改變之下,壓縮後容量大減 84%。

[the_ad_placement id=”ad2″]

Squoosh 有一個特點就是當你打開網頁之後,所有圖片處理工作會由本機負責,換言之除了登入網頁動作之外,其他所有操作可以離線使用。Google 除了發佈這工具之外,還提供 Github 開源程式碼讓開發者改良這個圖片壓縮工具。

[the_ad_placement id=”ad2″]

[the_ad_placement id=”ad2″]

Squoosh 圖片壓縮工具網址:按這裡

[the_ad_placement id=”ad2″]

PLAN

曾是過去 PC3 雜誌記者,現時是 PC3 網站的編輯,渡過接近 10 年科技媒體生涯,至今依然為大家提供科技和生活資訊