{"id":69699,"date":"2019-05-16T08:46:41","date_gmt":"2019-05-15T23:46:41","guid":{"rendered":"https:\/\/www.softantenna.com\/wp\/?p=69699"},"modified":"2019-05-16T08:46:44","modified_gmt":"2019-05-15T23:46:44","slug":"webp-convert-command","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/webp-convert-command\/","title":{"rendered":"WebP\u753b\u50cf\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u5909\u63db\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/05\/webp.jpg\" alt=\"Webp\" title=\"webp.jpg\" border=\"0\" width=\"1000\" height=\"600\" \/><\/p>\n<p>Google\u304c\u958b\u767a\u3057\u305f\u65b0\u3057\u3044\u753b\u50cf\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u300c<a href=\"https:\/\/developers.google.com\/speed\/webp\/\">WebP<\/a>\u300d\u3002<\/p>\n<p>Web\u7528\u306b\u958b\u767a\u3055\u308c\u305f\u30e2\u30c0\u30f3\u306a\u753b\u50cf\u5f62\u5f0f\u3067\u3001\u53ef\u9006\u5727\u7e2e\u306b\u3088\u3063\u3066PNG\u3088\u308a26%\u5c0f\u3055\u304f\u3001\u975e\u53ef\u9006\u5727\u7e2e\u3067\u306fJPEG\u753b\u50cf\u3088\u308a25\u301c34%\u307b\u3069\u5c0f\u3055\u304f\u306a\u308b\u4e8b\u304c\u77e5\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>WebP\u306fChrome\u3092\u521d\u3081\u3068\u3057\u305f\u30e2\u30c0\u30f3\u306aWeb\u30d6\u30e9\u30a6\u30b6\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u6b74\u53f2\u306e\u6d45\u3044\u753b\u50cf\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306a\u306e\u3067\u3001\u5404\u7a2e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30c4\u30fc\u30eb\u3067\u76f4\u63a5\u5229\u7528\u3067\u304d\u306a\u3044\u3053\u3068\u3082\u3042\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306fWebP\u5f62\u5f0f\u306e\u753b\u50cf\u304b\u3089PNG\/JPG\u306b\u5909\u63db\u3059\u308b\u3001\u3042\u308b\u3044\u306fPNG\/JPG\u304b\u3089WebP\u306b\u5909\u63db\u3059\u308b\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u306e\u4f7f\u7528\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u516c\u5f0f\u30c4\u30fc\u30eb\u306ecwebp\/dwebp\u3092\u4f7f\u7528\u3059\u308b<\/h2>\n<p><a href=\"https:\/\/developers.google.com\/speed\/webp\/\">WebP\u516c\u5f0f\u30da\u30fc\u30b8<\/a>\u3067\u8aac\u660e\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306b\u3001WebP\u5f62\u5f0f\u3092\u5909\u63db\u3059\u308b\u305f\u3081\u306e\u516c\u5f0f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u300c<a href=\"https:\/\/developers.google.com\/speed\/webp\/docs\/cwebp\">cwebp<\/a>\u300d\u3068\u300c<a href=\"https:\/\/developers.google.com\/speed\/webp\/docs\/dwebp\">dwebp<\/a>\u300d\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>cwebp\u3068dwebp\u306f\u3001\u5b9f\u884c\u5f62\u5f0f\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5<a href=\"https:\/\/storage.googleapis.com\/downloads.webmproject.org\/releases\/webp\/index.html\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a>\u3067\u304d\u308b\u307b\u304b\u3001macOS\u3084Linux\u3067\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30bd\u30d5\u30c8\u3092\u5229\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002macOS\u306e\u5834\u5408\u3001Homebrew\u3068MacPorts\u306e\u3069\u3061\u3089\u306b\u3082webp\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<pre>\nbrew install webp\nsudo port install webp\n<\/pre>\n<p><strong>dwebp\u3067WebP\u304b\u3089\u5909\u63db<\/strong>: <\/p>\n<p>\u753b\u50cf\u3092WebP\u5f62\u5f0f\u304b\u3089\u4ed6\u306e\u753b\u50cf\u306b\u5909\u63db\u3059\u308b\u5834\u5408\u300cdwebp\u300d\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre>\ndwebp test.webp -o test.png\n<\/pre>\n<p>\u6700\u521d\u306e\u5f15\u6570\u304c\u5909\u63db\u5143\u753b\u50cf\u3067\u3001\"-o\"\u306e\u5f8c\u306b\u66f8\u304d\u51fa\u3057\u5148\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u306a\u304a\u66f8\u304d\u51fa\u3057\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306fpng\u306a\u3069\u306e\u53ef\u9006\u5f62\u5f0f(\u30ed\u30b9\u30ec\u30b9\u5f62\u5f0f)\u3057\u304b\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<p><strong>cwebp\u3067WebP\u306b\u5909\u63db<\/strong>: <\/p>\n<p>\u753b\u50cf\u3092WebP\u5f62\u5f0f\u306b\u5909\u63db\u3059\u308b\u5834\u5408\u300ccwebp\u300d\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre>\ncwebp test.jpg -o test.webp\n<\/pre>\n<p>\u6700\u521d\u306e\u5f15\u6570\u304c\u5909\u63db\u5143\u753b\u50cf(PNG\/JPEG\/TIFF\u7b49)\u3067\u3001\"-o\"\u306e\u5f8c\u306b\u66f8\u304d\u51fa\u3057\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u300ccompress(WebP)\u300d\u3068\u300cdecompress(WebP)\u300d\u3068\u899a\u3048\u3066\u304a\u304f\u3068\u6df7\u4e71\u3057\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u305d\u306e\u4ed6\u306e\u8a73\u3057\u3044\u60c5\u5831\u306f<a href=\"https:\/\/developers.google.com\/speed\/webp\/docs\/cwebp\">cwebp<\/a>\u3068<a href=\"https:\/\/developers.google.com\/speed\/webp\/docs\/dwebp\">dwebp<\/a>\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>WebP\u753b\u50cf\u306fdwebp\/cwebp\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u3066\u5909\u63db\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u6709\u540d\u306a\u753b\u50cf\u5909\u63db\u30c4\u30fc\u30eb<a href=\"https:\/\/qiita.com\/yoya\/items\/0848a6b0b39db4cd57c2\">ImageMagick<\/a>\u3067\u3082\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u306fWebP\u3092\u6271\u3046\u3053\u3068\u304c\u53ef\u80fd\u306a\u3088\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google\u304c\u958b\u767a\u3057\u305f\u65b0\u3057\u3044\u753b\u50cf\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u300cWebP\u300d\u3002 Web\u7528\u306b\u958b\u767a\u3055\u308c\u305f\u30e2\u30c0\u30f3\u306a\u753b\u50cf\u5f62\u5f0f\u3067\u3001\u53ef\u9006\u5727\u7e2e\u306b\u3088\u3063\u3066PNG\u3088\u308a26%\u5c0f\u3055\u304f\u3001\u975e\u53ef\u9006\u5727\u7e2e\u3067\u306fJPEG\u753b\u50cf\u3088\u308a25\u301c34%\u307b\u3069\u5c0f\u3055\u304f\u306a\u308b\u4e8b\u304c\u77e5\u3089\u308c\u3066\u3044\u307e\u3059\u3002 W [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":69773,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[2047],"tags":[4250],"class_list":["post-69699","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips","tag-webp"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/69699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=69699"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/69699\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/69773"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=69699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=69699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=69699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}