{"id":99,"date":"2026-09-02T18:40:36","date_gmt":"2026-09-02T09:40:36","guid":{"rendered":"https:\/\/motoki-design.co.jp\/tools\/image-convert\/"},"modified":"2026-09-02T18:50:17","modified_gmt":"2026-09-02T09:50:17","slug":"image-convert","status":"publish","type":"page","link":"https:\/\/motoki-design.co.jp\/tools\/image-convert\/","title":{"rendered":"\u753b\u50cf\u306eWebP\u5909\u63db\u30fb\u30ea\u30b5\u30a4\u30ba\u30c4\u30fc\u30eb"},"content":{"rendered":"\n<div id=\"wt-imgconv\" class=\"wt-tool\">\n\t<p class=\"wt-lead\">\u753b\u50cf\u3092\u307e\u3068\u3081\u3066\u30c9\u30ed\u30c3\u30d7\u3059\u308b\u3060\u3051\u3067\u3001<strong>WebP\u5909\u63db\u3068\u30ea\u30b5\u30a4\u30ba\u3092\u4e00\u62ec\u3067\u5b9f\u884c<\/strong>\u3057\u307e\u3059\u3002\u5909\u63db\u524d\u5f8c\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u8868\u3067\u6bd4\u8f03\u3067\u304d\u308b\u306e\u3067\u3001\u3069\u308c\u3060\u3051\u8efd\u304f\u306a\u3063\u305f\u304b\u304c\u3072\u3068\u76ee\u3067\u5206\u304b\u308a\u307e\u3059\u3002\u30b5\u30a4\u30c8\u306b\u8f09\u305b\u308b\u524d\u306e\u3072\u3068\u624b\u9593\u306b\u3069\u3046\u305e\u3002<\/p>\n\n\t<div class=\"wt-policy\" style=\"border-color:#cfe3cf;background:#f3faf3;margin-top:0\">\n\t\t<p class=\"wt-policy-title\">\ud83d\udd12 \u753b\u50cf\u306f\u30b5\u30fc\u30d0\u30fc\u306b\u9001\u4fe1\u3055\u308c\u307e\u305b\u3093<\/p>\n\t\t<ul>\n\t\t\t<li>\u5909\u63db\u306f<strong>\u304a\u4f7f\u3044\u306e\u30d6\u30e9\u30a6\u30b6\u306e\u4e2d\u3060\u3051<\/strong>\u3067\u884c\u3063\u3066\u3044\u307e\u3059\u3002\u4f55\u679a\u6295\u5165\u3057\u3066\u3082\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306f\u767a\u751f\u3057\u307e\u305b\u3093\u3002<\/li>\n\t\t\t<li>\u304a\u5ba2\u69d8\u304b\u3089\u304a\u9810\u304b\u308a\u3057\u305f\u5199\u771f\u3084\u3001\u672a\u516c\u958b\u306e\u7d20\u6750\u3067\u3082\u5b89\u5fc3\u3057\u3066\u304a\u4f7f\u3044\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/li>\n\t\t<\/ul>\n\t<\/div>\n\n\t<form class=\"wt-form\" style=\"margin-top:1.2em\" onsubmit=\"return false\">\n\t\t<div class=\"wt-drop\" id=\"wt-ic-drop\">\n\t\t\t<strong>\u753b\u50cf\u3092\u3053\u3053\u306b\u30c9\u30ed\u30c3\u30d7\u3001\u307e\u305f\u306f\u30af\u30ea\u30c3\u30af\u3057\u3066\u9078\u629e<\/strong>\n\t\t\t<span>\u8907\u6570\u9078\u629e\u3067\u304d\u307e\u3059\uff0fPNG\u30fbJPEG\u30fbWebP\u30fbGIF \u306b\u5bfe\u5fdc<\/span>\n\t\t\t<input type=\"file\" id=\"wt-ic-file\" accept=\"image\/*\" multiple hidden>\n\t\t<\/div>\n\t\t<div class=\"wt-fields\">\n\t\t\t<div class=\"wt-field\">\n\t\t\t\t<label for=\"wt-ic-format\">\u5909\u63db\u3059\u308b\u5f62\u5f0f<\/label>\n\t\t\t\t<select id=\"wt-ic-format\" class=\"wt-select\" style=\"width:100%\">\n\t\t\t\t\t<option value=\"image\/webp\">WebP\uff08\u63a8\u5968\u30fb\u8efd\u3044\uff09<\/option>\n\t\t\t\t\t<option value=\"image\/jpeg\">JPEG<\/option>\n\t\t\t\t\t<option value=\"image\/png\">PNG\uff08\u53ef\u9006\u30fb\u900f\u904e\u3042\u308a\uff09<\/option>\n\t\t\t\t<\/select>\n\t\t\t<\/div>\n\t\t\t<div class=\"wt-field\">\n\t\t\t\t<label for=\"wt-ic-width\">\u6700\u5927\u306e\u5e45\uff08px\u30fb\u7a7a\u6b04\u306a\u3089\u5143\u306e\u307e\u307e\uff09<\/label>\n\t\t\t\t<input type=\"number\" id=\"wt-ic-width\" placeholder=\"1600\" min=\"100\" max=\"6000\">\n\t\t\t<\/div>\n\t\t\t<div class=\"wt-field\">\n\t\t\t\t<label for=\"wt-ic-quality\">\u753b\u8cea <span id=\"wt-ic-qv\">80<\/span><\/label>\n\t\t\t\t<input type=\"range\" id=\"wt-ic-quality\" min=\"40\" max=\"100\" value=\"80\">\n\t\t\t<\/div>\n\t\t<\/div>\n\t<\/form>\n\n\t<div class=\"wt-status\" hidden><\/div>\n\t<div class=\"wt-result\" hidden><\/div>\n\n\t<div class=\"wt-disclaimer\">\n\t\t<strong>\u5909\u63db\u306e\u4ed5\u7d44\u307f\u306b\u3064\u3044\u3066<\/strong><br>\n\t\t\u30d6\u30e9\u30a6\u30b6\u306e Canvas \u6a5f\u80fd\u3067\u518d\u63cf\u753b\u3057\u3066\u304b\u3089\u66f8\u304d\u51fa\u3057\u3066\u3044\u307e\u3059\u3002<strong>JPEG\u3084WebP\u306f\u975e\u53ef\u9006\u5727\u7e2e<\/strong>\u306a\u306e\u3067\u3001\u5909\u63db\u306e\u305f\u3073\u306b\u5c11\u3057\u305a\u3064\u52a3\u5316\u3057\u307e\u3059\u3002\u5fc5\u305a\u5143\u753b\u50cf\u3092\u6b8b\u3057\u305f\u3046\u3048\u3067\u304a\u4f7f\u3044\u304f\u3060\u3055\u3044\u3002\u307e\u305f\u3001<strong>\u900f\u904e\u3092\u542b\u3080\u753b\u50cf\u3092JPEG\u306b\u3059\u308b\u3068\u80cc\u666f\u304c\u9ed2\u304f\u306a\u308a\u307e\u3059<\/strong>\uff08WebP\u304bPNG\u3092\u9078\u3093\u3067\u304f\u3060\u3055\u3044\uff09\u3002GIF\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f1\u30b3\u30de\u76ee\u306e\u307f\u306e\u5909\u63db\u306b\u306a\u308a\u307e\u3059\u3002\n\t<\/div>\n\n\t<div class=\"wt-faq\">\n\t\t<details>\n\t\t\t<summary>\u753b\u8cea\u306f\u3069\u308c\u304f\u3089\u3044\u306b\u8a2d\u5b9a\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/summary>\n\t\t\t<p><strong>WebP\u306a\u308980\u524d\u5f8c<\/strong>\u304c\u76ee\u5b89\u3067\u3001\u898b\u305f\u76ee\u306e\u52a3\u5316\u304c\u307b\u3068\u3093\u3069\u5206\u304b\u3089\u306a\u3044\u307e\u307e\u5927\u304d\u304f\u8efd\u304f\u306a\u308a\u307e\u3059\u3002\u5199\u771f\u4e2d\u5fc3\u306a\u308975\u307e\u3067\u4e0b\u3052\u3066\u3082\u5b9f\u7528\u7684\u3067\u3059\u3002\u9006\u306b\u3001\u30ed\u30b4\u30fb\u56f3\u7248\u30fb\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u306a\u3069<strong>\u304f\u3063\u304d\u308a\u3057\u305f\u7dda\u3084\u6587\u5b57\u304c\u542b\u307e\u308c\u308b\u753b\u50cf\u306f\u52a3\u5316\u304c\u76ee\u7acb\u3064<\/strong>\u306e\u3067\u300190\u4ee5\u4e0a\u306b\u3059\u308b\u304bPNG\u306e\u307e\u307e\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\t\t<\/details>\n\t\t<details>\n\t\t\t<summary>\u5e45\u306f\u3069\u308c\u304f\u3089\u3044\u306b\u3059\u3079\u304d\u3067\u3059\u304b\uff1f<\/summary>\n\t\t\t<p>\u672c\u6587\u4e2d\u306e\u753b\u50cf\u306a\u3089<strong>1200\u301c1600px<\/strong>\u3067\u5341\u5206\u3067\u3059\u3002\u591a\u304f\u306e\u30b5\u30a4\u30c8\u306f\u672c\u6587\u5e45\u304c700\u301c800px\u7a0b\u5ea6\u3067\u3001\u9ad8\u89e3\u50cf\u5ea6\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u3092\u8003\u616e\u3057\u3066\u3082\u500d\u3042\u308c\u3070\u8db3\u308a\u307e\u3059\u3002\u30b9\u30de\u30db\u3067\u64ae\u3063\u305f4000px\u8d85\u306e\u5199\u771f\u3092\u305d\u306e\u307e\u307e\u8f09\u305b\u3066\u3044\u308b\u30b1\u30fc\u30b9\u306f\u975e\u5e38\u306b\u591a\u304f\u3001\u30ea\u30b5\u30a4\u30ba\u3059\u308b\u3060\u3051\u3067\u6570MB\u304c\u6570\u767eKB\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\t\t<\/details>\n\t\t<details>\n\t\t\t<summary>WordPress\u3067WebP\u3092\u4f7f\u3046\u306b\u306f\uff1f<\/summary>\n\t\t\t<p>WordPress 5.8\u4ee5\u964d\u306fWebP\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306b\u6a19\u6e96\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u5909\u63db\u3057\u305f\u753b\u50cf\u3092\u305d\u306e\u307e\u307e\u30e1\u30c7\u30a3\u30a2\u306b\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002\u65e2\u5b58\u306e\u753b\u50cf\u3092\u307e\u3068\u3081\u3066\u5909\u63db\u3057\u305f\u3044\u5834\u5408\u306f <strong>EWWW Image Optimizer<\/strong> \u3084 <strong>WebP Express<\/strong> \u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u4fbf\u5229\u3067\u3059\u3002\u5909\u63db\u5f8c\u306f<a href=\"\/tools\/page-weight\/\">\u30da\u30fc\u30b8\u91cd\u91cf\u8a3a\u65ad<\/a>\u3067\u3069\u308c\u3060\u3051\u8efd\u304f\u306a\u3063\u305f\u304b\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\t\t<\/details>\n\t<\/div>\n<\/div>\n\n<div class=\"wt-tool\"><div class=\"wt-policy\"><p class=\"wt-policy-title\">\ud83d\udd12 \u8abf\u3079\u305f\u5185\u5bb9\u306f\u8a18\u9332\u30fb\u516c\u958b\u3057\u307e\u305b\u3093<\/p><ul><li><strong>\u691c\u7d22\u3057\u305f\u5185\u5bb9\u3092\u4fdd\u5b58\u30fb\u4e00\u89a7\u5316\u30fb\u516c\u958b\u3057\u307e\u305b\u3093\u3002<\/strong>\u8abf\u67fb\u7d50\u679c\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5316\u3057\u3066\u691c\u7d22\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u308a\u3001\u4ed6\u306e\u5229\u7528\u8005\u306b\u898b\u305b\u305f\u308a\u3059\u308b\u3053\u3068\u306f\u4e00\u5207\u3042\u308a\u307e\u305b\u3093\u3002<\/li><li><strong>\u691c\u7d22\u5c65\u6b74\u3092\u6b8b\u3057\u307e\u305b\u3093\u3002<\/strong>\u8ab0\u304c\u4f55\u3092\u8abf\u3079\u305f\u304b\u3092\u7d10\u3065\u3051\u3066\u84c4\u7a4d\u3059\u308b\u3053\u3068\u306f\u3057\u307e\u305b\u3093\u3002\u4f1a\u54e1\u767b\u9332\u30fb\u30ed\u30b0\u30a4\u30f3\u3082\u4e0d\u8981\u3067\u3059\u3002<\/li><li><strong>\u7b2c\u4e09\u8005\u306b\u63d0\u4f9b\u30fb\u8ca9\u58f2\u3057\u307e\u305b\u3093\u3002<\/strong>\u55b6\u696d\u30ea\u30b9\u30c8\u3084\u5e83\u544a\u76ee\u7684\u3067\u306e\u5229\u7528\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/li><li>\u30b5\u30fc\u30d0\u30fc\u8ca0\u8377\u3092\u6291\u3048\u308b\u305f\u3081\u3001<strong>\u5224\u5b9a\u7d50\u679c\u306e\u307f\u6700\u59271\u6642\u9593\u306e\u4e00\u6642\u30ad\u30e3\u30c3\u30b7\u30e5<\/strong>\u306b\u4fdd\u6301\u3057\u3001\u6642\u9593\u306e\u7d4c\u904e\u3067\u81ea\u52d5\u7684\u306b\u6d88\u3048\u307e\u3059\u3002\u9023\u7d9a\u30a2\u30af\u30bb\u30b9\u306e\u5236\u9650\u7528\u306bIP\u30a2\u30c9\u30ec\u30b9\u3092<strong>\u30cf\u30c3\u30b7\u30e5\u5316\u3057\u305f\u5024<\/strong>\u3092\u6700\u592710\u5206\u9593\u3060\u3051\u4fdd\u6301\u3057\u307e\u3059\uff08\u5143\u306eIP\u30a2\u30c9\u30ec\u30b9\u306f\u4fdd\u5b58\u3057\u307e\u305b\u3093\uff09\u3002<\/li><li>\u8abf\u3079\u305f\u5bfe\u8c61\u306f\u5171\u6709\u7528\u306bURL\u306e<code>#<\/code>\u4ee5\u964d\u306b\u4ed8\u304d\u307e\u3059\u304c\u3001\u3053\u306e\u90e8\u5206\u306f\u30b5\u30fc\u30d0\u30fc\u306b\u3082\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u306b\u3082\u9001\u4fe1\u3055\u308c\u307e\u305b\u3093\u3002<\/li><\/ul><\/div><\/div>\n\n<script>\n(function () {\n\tvar root = document.getElementById('wt-imgconv');\n\tif (!root || !window.WT) return;\n\tvar W = WT;\n\tvar resultBox = root.querySelector('.wt-result');\n\tvar statusBox = root.querySelector('.wt-status');\n\tvar drop = document.getElementById('wt-ic-drop');\n\tvar input = document.getElementById('wt-ic-file');\n\tvar queue = [];\n\n\tfunction setStatus(msg, isError) {\n\t\tif (!msg) { statusBox.hidden = true; return; }\n\t\tstatusBox.hidden = false;\n\t\tstatusBox.className = 'wt-status' + (isError ? ' is-error' : '');\n\t\tstatusBox.textContent = msg;\n\t}\n\n\tfunction kb(bytes) {\n\t\treturn bytes >= 1048576 ? (bytes \/ 1048576).toFixed(2) + ' MB' : Math.round(bytes \/ 1024) + ' KB';\n\t}\n\n\tfunction convertOne(file) {\n\t\treturn new Promise(function (resolve) {\n\t\t\tvar img = new Image();\n\t\t\timg.onload = function () {\n\t\t\t\tvar maxWidth = parseInt(document.getElementById('wt-ic-width').value, 10);\n\t\t\t\tvar format = document.getElementById('wt-ic-format').value;\n\t\t\t\tvar quality = parseInt(document.getElementById('wt-ic-quality').value, 10) \/ 100;\n\n\t\t\t\tvar scale = (maxWidth && img.width > maxWidth) ? maxWidth \/ img.width : 1;\n\t\t\t\tvar w = Math.round(img.width * scale), h = Math.round(img.height * scale);\n\n\t\t\t\tvar canvas = document.createElement('canvas');\n\t\t\t\tcanvas.width = w; canvas.height = h;\n\t\t\t\tvar ctx = canvas.getContext('2d');\n\t\t\t\t\/\/ JPEG\u306f\u900f\u904e\u3092\u6271\u3048\u306a\u3044\u305f\u3081\u3001\u767d\u3067\u4e0b\u5730\u3092\u5857\u3063\u3066\u304b\u3089\u63cf\u304f\n\t\t\t\tif (format === 'image\/jpeg') {\n\t\t\t\t\tctx.fillStyle = '#ffffff';\n\t\t\t\t\tctx.fillRect(0, 0, w, h);\n\t\t\t\t}\n\t\t\t\tctx.imageSmoothingQuality = 'high';\n\t\t\t\tctx.drawImage(img, 0, 0, w, h);\n\n\t\t\t\tcanvas.toBlob(function (blob) {\n\t\t\t\t\tvar ext = { 'image\/webp': 'webp', 'image\/jpeg': 'jpg', 'image\/png': 'png' }[format];\n\t\t\t\t\tvar base = file.name.replace(\/\\.[^.]+$\/, '');\n\t\t\t\t\tresolve({\n\t\t\t\t\t\tname: file.name,\n\t\t\t\t\t\tnewName: base + '.' + ext,\n\t\t\t\t\t\tbefore: file.size,\n\t\t\t\t\t\tafter: blob ? blob.size : 0,\n\t\t\t\t\t\twidth: img.width, height: img.height,\n\t\t\t\t\t\tnewWidth: w, newHeight: h,\n\t\t\t\t\t\tblob: blob,\n\t\t\t\t\t\turl: blob ? URL.createObjectURL(blob) : '',\n\t\t\t\t\t\tok: !!blob\n\t\t\t\t\t});\n\t\t\t\t}, format, quality);\n\t\t\t};\n\t\t\timg.onerror = function () {\n\t\t\t\tresolve({ name: file.name, before: file.size, after: 0, ok: false });\n\t\t\t};\n\t\t\timg.src = URL.createObjectURL(file);\n\t\t});\n\t}\n\n\tfunction run() {\n\t\tif (!queue.length) return;\n\t\tsetStatus(queue.length + ' \u4ef6\u3092\u5909\u63db\u3057\u3066\u3044\u307e\u3059\u2026');\n\t\tPromise.all(queue.map(convertOne)).then(function (files) {\n\t\t\tsetStatus('');\n\t\t\trender(files);\n\t\t});\n\t}\n\n\tfunction render(files) {\n\t\tvar okFiles = files.filter(function (f) { return f.ok; });\n\t\tvar before = okFiles.reduce(function (a, f) { return a + f.before; }, 0);\n\t\tvar after = okFiles.reduce(function (a, f) { return a + f.after; }, 0);\n\t\tvar saved = before ? Math.round((1 - after \/ before) * 100) : 0;\n\n\t\tvar html = W.head(saved > 0 ? 'ok' : 'warn', '\u5909\u63db\u7d50\u679c',\n\t\t\tW.esc(okFiles.length + ' \u4ef6\u3092\u5909\u63db\u3057\u307e\u3057\u305f'),\n\t\t\t[saved > 0 ? '\u5408\u8a08\u3067 ' + kb(before - after) + '\uff08' + saved + '%\uff09\u8efd\u304f\u306a\u308a\u307e\u3057\u305f\u3002' :\n\t\t\t\t'\u5143\u3088\u308a\u5927\u304d\u304f\u306a\u308a\u307e\u3057\u305f\u3002\u753b\u8cea\u3092\u4e0b\u3052\u308b\u304b\u3001\u5143\u306e\u5f62\u5f0f\u306e\u307e\u307e\u304a\u4f7f\u3044\u304f\u3060\u3055\u3044\u3002']);\n\n\t\thtml += '<div class=\"wt-cards\">';\n\t\thtml += W.card('\u5909\u63db\u524d\u306e\u5408\u8a08', W.esc(kb(before)));\n\t\thtml += W.card('\u5909\u63db\u5f8c\u306e\u5408\u8a08', W.esc(kb(after)));\n\t\thtml += W.card('\u524a\u6e1b\u7387', W.esc(saved + ' %'));\n\t\thtml += W.card('\u4ef6\u6570', W.esc(okFiles.length + ' \u4ef6'));\n\t\thtml += '<\/div>';\n\n\t\thtml += '<h3 class=\"wt-h\">\u30d5\u30a1\u30a4\u30eb\u3054\u3068\u306e\u7d50\u679c<\/h3>';\n\t\thtml += W.dataTable({\n\t\t\tid: 'wt-ic-table',\n\t\t\tfilename: 'image-convert.csv',\n\t\t\trows: files.map(function (f, i) {\n\t\t\t\treturn {\n\t\t\t\t\tindex: i,\n\t\t\t\t\tname: f.name,\n\t\t\t\t\tnewName: f.newName || '-',\n\t\t\t\t\tsize: f.width ? f.width + '\u00d7' + f.height : '-',\n\t\t\t\t\tnewSize: f.newWidth ? f.newWidth + '\u00d7' + f.newHeight : '-',\n\t\t\t\t\tbefore: f.before,\n\t\t\t\t\tafter: f.after,\n\t\t\t\t\trate: f.ok && f.before ? Math.round((1 - f.after \/ f.before) * 100) : 0\n\t\t\t\t};\n\t\t\t}),\n\t\t\tcolumns: [\n\t\t\t\t{ key: 'name', label: '\u5143\u306e\u30d5\u30a1\u30a4\u30eb', wrap: true },\n\t\t\t\t{ key: 'size', label: '\u5143\u306e\u5bf8\u6cd5' },\n\t\t\t\t{ key: 'newSize', label: '\u5909\u63db\u5f8c\u306e\u5bf8\u6cd5' },\n\t\t\t\t{ key: 'before', label: '\u5909\u63db\u524d', html: function (r) { return W.esc(kb(r.before)); } },\n\t\t\t\t{ key: 'after', label: '\u5909\u63db\u5f8c', html: function (r) { return W.esc(kb(r.after)); } },\n\t\t\t\t{ key: 'rate', label: '\u524a\u6e1b\u7387',\n\t\t\t\t\thtml: function (r) { return W.esc(r.rate + ' %'); },\n\t\t\t\t\tcls: function (r) { return r.rate <= 0 ? 'is-warn' : ''; } },\n\t\t\t\t{ key: 'index', label: '\u4fdd\u5b58',\n\t\t\t\t\thtml: function (r) { return '<button type=\"button\" class=\"wt-mini\" data-ic=\"' + r.index + '\">\u4fdd\u5b58<\/button>'; } }\n\t\t\t]\n\t\t});\n\n\t\thtml += '<div class=\"wt-toolbar\" style=\"margin-top:.8em\"><button type=\"button\" class=\"wt-mini\" id=\"wt-ic-all\">\u3059\u3079\u3066\u4fdd\u5b58<\/button><\/div>';\n\t\thtml += '<p class=\"wt-note\">\u30d6\u30e9\u30a6\u30b6\u306b\u3088\u3063\u3066\u306f\u3001\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u306e\u9023\u7d9a\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u78ba\u8a8d\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>';\n\n\t\thtml += '<h3 class=\"wt-h\">\u30d7\u30ec\u30d3\u30e5\u30fc<\/h3><div class=\"wt-thumbs\">';\n\t\tokFiles.slice(0, 12).forEach(function (f) {\n\t\t\thtml += '<div class=\"wt-thumb\">' + W.img(f.url, { alt: '', loading: 'lazy' }) +\n\t\t\t\t'<div>' + W.esc(f.newName) + '<\/div><div>' + W.esc(kb(f.after)) + '<\/div><\/div>';\n\t\t});\n\t\thtml += '<\/div>';\n\n\t\tresultBox.innerHTML = html;\n\t\tresultBox.hidden = false;\n\n\t\tresultBox.addEventListener('click', function (e) {\n\t\t\tvar idx = e.target.getAttribute && e.target.getAttribute('data-ic');\n\t\t\tif (idx !== null && idx !== undefined) {\n\t\t\t\tvar f = files[parseInt(idx, 10)];\n\t\t\t\tif (f && f.blob) W.download(f.newName, f.blob);\n\t\t\t}\n\t\t});\n\t\tdocument.getElementById('wt-ic-all').addEventListener('click', function () {\n\t\t\tokFiles.forEach(function (f, i) {\n\t\t\t\tsetTimeout(function () { W.download(f.newName, f.blob); }, i * 350);\n\t\t\t});\n\t\t});\n\t}\n\n\tfunction accept(fileList) {\n\t\tqueue = Array.prototype.filter.call(fileList, function (f) { return \/^image\\\/\/.test(f.type); });\n\t\tif (!queue.length) { setStatus('\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002', true); return; }\n\t\tdrop.querySelector('strong').textContent = queue.length + ' \u4ef6\u306e\u753b\u50cf\u3092\u9078\u629e\u4e2d';\n\t\trun();\n\t}\n\n\tdrop.addEventListener('click', function () { input.click(); });\n\tinput.addEventListener('change', function () { accept(this.files); });\n\t['dragenter', 'dragover'].forEach(function (ev) {\n\t\tdrop.addEventListener(ev, function (e) { e.preventDefault(); drop.classList.add('is-over'); });\n\t});\n\t['dragleave', 'drop'].forEach(function (ev) {\n\t\tdrop.addEventListener(ev, function (e) { e.preventDefault(); drop.classList.remove('is-over'); });\n\t});\n\tdrop.addEventListener('drop', function (e) { accept(e.dataTransfer.files); });\n\n\tdocument.getElementById('wt-ic-quality').addEventListener('input', function () {\n\t\tdocument.getElementById('wt-ic-qv').textContent = this.value;\n\t});\n\t['wt-ic-format', 'wt-ic-width', 'wt-ic-quality'].forEach(function (id) {\n\t\tdocument.getElementById(id).addEventListener('change', function () { if (queue.length) run(); });\n\t});\n})();\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>\u753b\u50cf\u3092\u307e\u3068\u3081\u3066\u30c9\u30ed\u30c3\u30d7\u3059\u308b\u3060\u3051\u3067\u3001WebP\u5909\u63db\u3068\u30ea\u30b5\u30a4\u30ba\u3092\u4e00\u62ec\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002\u5909\u63db\u524d\u5f8c\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u8868\u3067\u6bd4\u8f03\u3067\u304d\u308b\u306e\u3067\u3001\u3069\u308c\u3060\u3051\u8efd\u304f\u306a\u3063\u305f\u304b\u304c\u3072\u3068\u76ee\u3067\u5206\u304b\u308a\u307e\u3059\u3002\u30b5\u30a4\u30c8\u306b\u8f09\u305b\u308b\u524d\u306e\u3072\u3068\u624b\u9593\u306b\u3069\u3046\u305e\u3002 \ud83d\udd12 \u753b\u50cf\u306f\u30b5\u30fc\u30d0\u30fc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"swell_btn_cv_data":"","ssp_meta_description":"\u753b\u50cf\u3092\u307e\u3068\u3081\u3066\u30c9\u30ed\u30c3\u30d7\u3059\u308b\u3060\u3051\u3067WebP\u5909\u63db\u3068\u30ea\u30b5\u30a4\u30ba\u3092\u4e00\u62ec\u5b9f\u884c\u3002\u5909\u63db\u524d\u5f8c\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u8868\u3067\u6bd4\u8f03\u3067\u304d\u307e\u3059\u3002\u753b\u50cf\u306f\u30b5\u30fc\u30d0\u30fc\u306b\u9001\u4fe1\u3055\u308c\u305a\u30d6\u30e9\u30a6\u30b6\u5185\u3067\u51e6\u7406\u3002\u30b5\u30a4\u30c8\u9ad8\u901f\u5316\u306e\u7b2c\u4e00\u6b69\u306b\u3002\u4f1a\u54e1\u767b\u9332\u4e0d\u8981\u3002","ssp_meta_title":"WebP\u5909\u63db\u30fb\u753b\u50cf\u30ea\u30b5\u30a4\u30ba\uff5c\u307e\u3068\u3081\u3066\u7121\u6599\u3067\u8efd\u91cf\u5316","ssp_meta_robots":"","ssp_meta_canonical":"","ssp_meta_image":"","ssp_meta_keyword":"","footnotes":""},"class_list":["post-99","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/comments?post=99"}],"version-history":[{"count":1,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages\/99\/revisions"}],"predecessor-version":[{"id":106,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages\/99\/revisions\/106"}],"wp:attachment":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/media?parent=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}