{"id":12450,"date":"2024-03-10T07:00:00","date_gmt":"2024-03-09T22:00:00","guid":{"rendered":"https:\/\/blog.capilano-fw.com\/?p=12450"},"modified":"2024-02-18T20:03:34","modified_gmt":"2024-02-18T11:03:34","slug":"vue-3-cropper-js-%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%90%e3%82%b7%e3%83%bc%e4%bf%9d%e8%ad%b7%e3%81%ae%e3%81%9f%e3%82%81%e3%81%ae%e3%80%8c%e3%81%bc%e3%81%8b%e3%81%97%e3%80%8d%e6%a9%9f%e8%83%bd","status":"publish","type":"post","link":"https:\/\/blog.capilano-fw.com\/?p=12450","title":{"rendered":"Vue 3 + Cropper.js \u3067\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u4fdd\u8b77\u306e\u305f\u3081\u306e\u300c\u307c\u304b\u3057\u300d\u6a5f\u80fd\u3092\u3064\u304f\u308b"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u79c1\u306f\u4ee5\u524d\u304b\u3089\u300c<strong>\u3061\u3087\u3063\u3068\u5909\u308f\u3063\u305f\u5834\u6240\u3092\u65c5\u884c\u3059\u308b<\/strong>\u300d\u3068\u3044\u3046<a href=\"https:\/\/machi-collection.com\/\" target=\"_blank\" rel=\"noopener\">\u8857\u89d2\u30b3\u30ec\u30af\u30b7\u30e7\u30f3<\/a>\u3068\u3044\u3046\u3001\uff08100\u30d1\u30fc\u81ea\u5df1\u6e80\u8db3\u306e\uff09\u500b\u4eba\u30b5\u30a4\u30c8\u3092\u904b\u55b6\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5168\u304f\u5229\u76ca\u306f\u51fa\u3066\u3044\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u30b5\u30a4\u30c8\u3092\u904b\u55b6\u3057\u3066\u3044\u308b\u3068\u8a2a\u554f\u8005\u3055\u3093\u304c\u5199\u771f\u3092\u6295\u7a3f\u3057\u3066\u304f\u308c\u305f\u308a\u3057\u3066\u300c<strong>\u304a\u3063\u3001\u4ef2\u9593\u304c\u3044\u308b\u305e\ud83d\ude04<\/strong>\u300d\u3068\u306a\u308a\u3057\u3066\u3001\u65e5\u3005\u304c\u5145\u5b9f\u3057\u3066\u3044\u305f\u308a\u3057\u307e\u3046\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u305d\u3046\u3044\u3063\u305f\u6295\u7a3f\u5199\u771f\u3067\u6c17\u3092\u3064\u3051\u3066\u3044\u308b\u306e\u304c\u3001<\/p>\n<p><strong style=\"font-size: 35px;\">\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u4fdd\u8b77<\/strong><\/p>\n<p>\u3067\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u5199\u771f\u306b\u5199\u308a\u8fbc\u3093\u3067\u3044\u308b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u90e8\u5206\u306f\u300c<strong>\u307c\u304b\u3057<\/strong>\u300d\u3092\u3044\u308c\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u308f\u3051\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u4eba\u306e\u9854<\/li>\n<li>\u8eca\u306e\u30ca\u30f3\u30d0\u30fc<\/li>\n<li>\u5bb6\u306e\u8868\u672d<\/li>\n<\/ul>\n<p>\u306a\u3069\u306a\u3069\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u305d\u3093\u306a\u3068\u304d\u306f\u3044\u3064\u3082\u611b\u7528\u3057\u3066\u3044\u308b\u753b\u50cf\u7de8\u96c6\u30bd\u30d5\u30c8<code>gimp<\/code>\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u6b63\u76f4\u5199\u771f\u304c\u305f\u304f\u3055\u3093\u3042\u308b\u3068\u300c<strong>\u3046\u30fc\u3093\u3001\u4eca\u306f\u5fd9\u3057\u3044\u306e\u306b\u307e\u3044\u3063\u305f\u306a\u2026\ud83d\ude05<\/strong>\u300d\u3068\u306a\u308b\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u203b \u3044\u3084\u3001\u6295\u7a3f\u3057\u3066\u3044\u305f\u3060\u304f\u306e\u306f\u3081\u3061\u3083\u304f\u3061\u3083\u5b09\u3057\u3044\u3093\u3067\u3001\u4eca\u5f8c\u3082\u305c\u3072\u304a\u9858\u3044\u3057\u307e\u3059\u2757m(_ _)m &lt; \u3077\u308a\u30fc\u305a<\/p>\n<p>\u305d\u3053\u3067\u4f5c\u696d\u52b9\u7387\u3092\u3042\u3052\u308b\u305f\u3081\u306b\u3001\u30a6\u30a7\u30d6\u4e0a\u3067\u300c<strong>\u307c\u304b\u3057<\/strong>\u300d\u306b\u7279\u5316\u3057\u305f\u30da\u30fc\u30b8\u3092\u3064\u304f\u308d\u3046\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u3053\u3053\u3067\u305d\u306e\u30b3\u30fc\u30c9\u3092\u5171\u6709\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u4f55\u304b\u306e\u53c2\u8003\u306b\u306a\u308a\u307e\u3057\u305f\u3089\u5b09\u3057\u3044\u3067\u3059\u3002\ud83d\ude04\u2728<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2173 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/11\/no_24.png\" alt=\"\" width=\"300\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/11\/no_24.png 300w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/11\/no_24-281x300.png 281w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>\u300c\u5f71\u97ff\u529b\u306e\u6b66\u5668\uff08\u7b2c\uff13\u7248\uff09<br \/>\n\u3092\u8aad\u307f\u59cb\u3081\u307e\u3057\u305f\u3002<br \/>\n\u6587\u304c\u7c21\u5358\u306b\u306a\u3063\u305f\u305d\u3046\u3067\u3059\u2757\u300d<\/p>\n<p><strong>\u958b\u767a\u74b0\u5883\uff1a<\/strong> Laravel 10.x\u3001Vue 3.4.18\uff08Options API\uff09\u3001Cropper.js 1.6.1\u3001TailwindCSS 3.4.1<\/p>\n<h1>\u3084\u308a\u305f\u3044\u3053\u3068<\/h1>\n<p>\u4eca\u56de\u5b9f\u88c5\u3057\u305f\u3044\u306e\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u8868\u793a\u3055\u308c\u305f\u753b\u50cf\u3092\u30de\u30a6\u30b9\u3067\u7bc4\u56f2\u6307\u5b9a\u3059\u308b\u3068\u305d\u3053\u306b\u300c\u307c\u304b\u3057\u300d\u304c\u5165\u308b<\/li>\n<li>\u4f5c\u696d\u304c\u5931\u6557\u3059\u308b\u3053\u3068\u3082\u3042\u308b\u306e\u3067\u3001\uff11\u3064\u305a\u3064\u524d\u306b\u623b\u308c\u308b\u3088\u3046\u306b\u3059\u308b<\/li>\n<li>\u307c\u304b\u3057\u306e\u5f37\u3055\u3092\u300c\u5f31\u3044\u300d\u300c\u4e2d\u3050\u3089\u3044\u300d\u300c\u5f37\u3044\u300d\u306e\uff13\u3064\u304b\u3089\u9078\u3079\u308b\u3088\u3046\u306b\u3059\u308b<\/li>\n<\/ul>\n<p>\u305d\u308c\u3067\u306f\u4eca\u56de\u3082\u697d\u3057\u3093\u3067\u3084\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u2757<\/p>\n<h1>\u30eb\u30fc\u30c8\u3092\u3064\u304f\u308b<\/h1>\n<p>\u4eca\u56de\u306f\u307b\u307c<code>Laravel<\/code>\u306f\u95a2\u4fc2\u306a\u3044\u306e\u3067\u30b7\u30f3\u30d7\u30eb\u306b\u30d3\u30e5\u30fc\u3092\u547c\u3073\u51fa\u3059\u5f62\u3067\u30eb\u30fc\u30c8\u3092\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p><strong>routes\/web.php<\/strong><\/p>\n<div>\n<pre><strong>Route::get('canvas_blur', fn() =&gt; view('canvas_blur'));<\/strong><\/pre>\n<\/div>\n<h1>\u30d3\u30e5\u30fc\u3092\u3064\u304f\u308b<\/h1>\n<p>\u3067\u306f\u3001\u30eb\u30fc\u30c8\u306b\u30bb\u30c3\u30c8\u3057\u305f\u30d3\u30e5\u30fc\u3092\u3064\u304f\u308a\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\n<pre><strong>php artisan make:view canvas_blur<\/strong><\/pre>\n<\/div>\n<p>\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u308b\u306e\u3067\u4e2d\u8eab\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><strong>resources\/views\/canvas_blur.blade.php<\/strong><\/p>\n<div>\n<pre><strong>&lt;html&gt;<\/strong>\r\n<strong>&lt;head&gt;<\/strong>\r\n<strong>    &lt;link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/cropperjs\/1.6.1\/cropper.css\"&gt;<\/strong>\r\n<strong>    &lt;style&gt;<\/strong>\r\n\r\n<strong>        \/* \u2460 Cropper \u306e\u898b\u305f\u76ee\u3092\u5909\u66f4\u3059\u308b *\/<\/strong>\r\n<strong>        #canvas-container {<\/strong>\r\n<strong>            max-width: 100%;<\/strong>\r\n<strong>        }<\/strong>\r\n\r\n<strong>        #canvas {<\/strong>\r\n<strong>            width: 100%;<\/strong>\r\n<strong>        }<\/strong>\r\n\r\n<strong>    &lt;\/style&gt;<\/strong>\r\n<strong>&lt;\/head&gt;<\/strong>\r\n<strong>&lt;body&gt;<\/strong>\r\n<strong>    &lt;div id=\"app\" class=\"p-5\"&gt;<\/strong>\r\n<strong>        &lt;div class=\"mb-5\"&gt;<\/strong>\r\n<strong>            &lt;label class=\"bg-blue-500 text-white px-3 py-2 rounded cursor-pointer mr-3\"&gt;<\/strong>\r\n<strong>                \u753b\u50cf\u3092\u9078\u629e\u3059\u308b&lt;input type=\"file\" class=\"hidden\" accept=\"image\/*\" @change=\"onFileChange\"&gt;<\/strong>\r\n<strong>            &lt;\/label&gt;<\/strong>\r\n<strong>            &lt;a href=\"#\" type=\"button\" class=\"text-blue-500 underline mr-3\" v-if=\"imageData\" @click.prevent=\"downloadImage\"&gt;\u753b\u50cf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9&lt;\/a&gt;<\/strong>\r\n<strong>            &lt;a href=\"#\" type=\"button\" class=\"text-blue-500 underline\" v-if=\"cropHistories.length &gt; 0\" @click.prevent=\"revertCanvas\"&gt;\u3072\u3068\u3064\u524d\u306b\u623b\u308b&lt;\/a&gt;<\/strong>\r\n<strong>        &lt;\/div&gt;<\/strong>\r\n<strong>        &lt;div class=\"mb-5\"&gt;<\/strong>\r\n<strong>            \u307c\u304b\u3057\u306e\u5f37\u3055<\/strong>\r\n<strong>            &lt;select class=\"block w-32 p-2 border border-gray-300 rounded\" v-model=\"blurStrengthIndex\"&gt;<\/strong>\r\n<strong>                &lt;option v-for=\"(strength,index) in blurStrengths\" :value=\"index\" :key=\"index\" v-text=\"strength.label\"&gt;&lt;\/option&gt;<\/strong>\r\n<strong>            &lt;\/select&gt;<\/strong>\r\n<strong>        &lt;\/div&gt;<\/strong>\r\n<strong>        &lt;div id=\"canvas-container\"&gt;<\/strong>\r\n<strong>            &lt;canvas id=\"canvas\"&gt;&lt;\/canvas&gt;<\/strong>\r\n<strong>        &lt;\/div&gt;<\/strong>\r\n<strong>    &lt;\/div&gt;<\/strong>\r\n<strong>    &lt;script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/cropperjs\/1.6.1\/cropper.min.js\"&gt;&lt;\/script&gt;<\/strong>\r\n<strong>    &lt;script src=\"https:\/\/unpkg.com\/vue@3.4.18\/dist\/vue.global.prod.js\"&gt;&lt;\/script&gt;<\/strong>\r\n<strong>    &lt;script src=\"https:\/\/cdn.tailwindcss.com\/3.4.1\"&gt;&lt;\/script&gt;<\/strong>\r\n<strong>    &lt;script&gt;<\/strong>\r\n\r\n<strong>        Vue.createApp({<\/strong>\r\n<strong>            data() {<\/strong>\r\n<strong>                return {<\/strong>\r\n<strong>                    imageData: null,<\/strong>\r\n<strong>                    canvas: null,<\/strong>\r\n<strong>                    ctx: null,<\/strong>\r\n<strong>                    cropper: null,<\/strong>\r\n<strong>                    cropHistories: [],<\/strong>\r\n<strong>                    blurStrengthIndex: 1,<\/strong>\r\n<strong>                    blurStrengths: [ \/\/ \u307c\u304b\u3057\u306e\u5f37\u3055<\/strong>\r\n<strong>                        { value: 5, label: '\u5f37\u3044' },<\/strong>\r\n<strong>                        { value: 15, label: '\u4e2d\u3050\u3089\u3044' },<\/strong>\r\n<strong>                        { value: 30, label: '\u5f31\u3044' },<\/strong>\r\n<strong>                    ]<\/strong>\r\n<strong>                }<\/strong>\r\n<strong>            },<\/strong>\r\n<strong>            methods: {<\/strong>\r\n<strong>                setCropper() { \/\/ \u2461 Cropper \u3092\u8a2d\u5b9a\u3059\u308b<\/strong>\r\n\r\n<strong>                    if(this.cropper !== null) {<\/strong>\r\n\r\n<strong>                        this.cropper.destroy();<\/strong>\r\n\r\n<strong>                    }<\/strong>\r\n\r\n<strong>                    this.cropper = new Cropper(this.canvas, {<\/strong>\r\n<strong>                        background: false,<\/strong>\r\n<strong>                        zoomable: false,<\/strong>\r\n<strong>                        autoCrop: false,<\/strong>\r\n<strong>                        cropend: this.onCropEnd,<\/strong>\r\n<strong>                    });<\/strong>\r\n\r\n<strong>                    document.getElementById('canvas').classList.remove('cropper-hidden');<\/strong>\r\n\r\n<strong>                },<\/strong>\r\n<strong>                renderCanvas() { \/\/ \u2462 Canvas \u306b\u63cf\u753b\u3059\u308b<\/strong>\r\n\r\n<strong>                    this.ctx.drawImage(this.imageData, 0, 0, this.canvas.width, this.canvas.height);<\/strong>\r\n\r\n<strong>                    this.cropHistories.forEach((history) =&gt; {<\/strong>\r\n\r\n<strong>                        const { x, y, width, height, blurStrength } = history;<\/strong>\r\n\r\n<strong>                        this.ctx.filter = `blur(${blurStrength}px)`;<\/strong>\r\n<strong>                        this.ctx.drawImage(this.canvas, x, y, width, height, x, y, width, height);<\/strong>\r\n<strong>                        this.ctx.filter = 'none'; \/\/ \u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u30ea\u30bb\u30c3\u30c8\u3059\u308b<\/strong>\r\n\r\n<strong>                    });<\/strong>\r\n\r\n<strong>                    this.setCropper();<\/strong>\r\n\r\n<strong>                },<\/strong>\r\n<strong>                revertCanvas() { \/\/ \u2463 \u3072\u3068\u3064\u524d\u306b\u623b\u308b<\/strong>\r\n\r\n<strong>                    this.cropHistories = this.cropHistories.slice(0, -1);<\/strong>\r\n<strong>                    this.renderCanvas();<\/strong>\r\n\r\n<strong>                },<\/strong>\r\n<strong>                downloadImage() { \/\/ \u2464 \u753b\u50cf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/strong>\r\n\r\n<strong>                    const date = new Date();<\/strong>\r\n<strong>                    const year = date.getFullYear();<\/strong>\r\n<strong>                    const month = date.getMonth() + 1;<\/strong>\r\n<strong>                    const day = date.getDate();<\/strong>\r\n<strong>                    const hour = date.getHours();<\/strong>\r\n<strong>                    const minute = date.getMinutes();<\/strong>\r\n<strong>                    const second = date.getSeconds();<\/strong>\r\n<strong>                    const fileName = `${year}-${month}-${day}_${hour}-${minute}-${second}.png`;<\/strong>\r\n<strong>                    const link = document.createElement('a');<\/strong>\r\n<strong>                    link.href = this.canvas.toDataURL('image\/png');<\/strong>\r\n<strong>                    link.download = fileName;<\/strong>\r\n<strong>                    link.click();<\/strong>\r\n\r\n<strong>                },<\/strong>\r\n<strong>                onCropEnd() { \/\/ \u2465 \u307c\u304b\u3059\u4f4d\u7f6e\u304c\u7bc4\u56f2\u9078\u629e\u3055\u308c\u305f\u3068\u304d<\/strong>\r\n\r\n<strong>                    const cropperData = this.cropper.getData();<\/strong>\r\n<strong>                    const blurStrength = this.blurStrengths[this.blurStrengthIndex].value;<\/strong>\r\n<strong>                    this.cropHistories.push({<\/strong>\r\n<strong>                        x: cropperData.x,<\/strong>\r\n<strong>                        y: cropperData.y,<\/strong>\r\n<strong>                        width: cropperData.width,<\/strong>\r\n<strong>                        height: cropperData.height,<\/strong>\r\n<strong>                        blurStrength: blurStrength,<\/strong>\r\n<strong>                    });<\/strong>\r\n<strong>                    this.renderCanvas();<\/strong>\r\n\r\n<strong>                },<\/strong>\r\n<strong>                onFileChange(e) { \/\/ \u2466 \u753b\u50cf\u304c\u9078\u629e\u3055\u308c\u305f\u3068\u304d<\/strong>\r\n\r\n<strong>                    const file = e.target.files[0];<\/strong>\r\n\r\n<strong>                    if(file instanceof File) {<\/strong>\r\n\r\n<strong>                        const reader = new FileReader();<\/strong>\r\n<strong>                        reader.onload = (e) =&gt; {<\/strong>\r\n\r\n<strong>                            this.imageData = new Image();<\/strong>\r\n<strong>                            this.imageData.onload = () =&gt; {<\/strong>\r\n\r\n<strong>                                let width = this.imageData.width;<\/strong>\r\n<strong>                                let height = this.imageData.height;<\/strong>\r\n\r\n<strong>                                if(width &gt; this.maxWidth) {<\/strong>\r\n\r\n<strong>                                    height = Math.round(height * this.maxWidth \/ width);<\/strong>\r\n<strong>                                    width = this.maxWidth;<\/strong>\r\n\r\n<strong>                                }<\/strong>\r\n\r\n<strong>                                this.canvas.width = width;<\/strong>\r\n<strong>                                this.canvas.height = height;<\/strong>\r\n\r\n<strong>                                this.ctx.drawImage(this.imageData, 0, 0, width, height);<\/strong>\r\n<strong>                                this.setCropper();<\/strong>\r\n\r\n<strong>                            }<\/strong>\r\n<strong>                            this.imageData.src = e.target.result;<\/strong>\r\n\r\n<strong>                        }<\/strong>\r\n<strong>                        reader.readAsDataURL(file);<\/strong>\r\n\r\n<strong>                    }<\/strong>\r\n\r\n<strong>                },<\/strong>\r\n<strong>            },<\/strong>\r\n<strong>            mounted() {<\/strong>\r\n\r\n<strong>                this.canvas = document.getElementById('canvas');<\/strong>\r\n<strong>                this.ctx = this.canvas.getContext('2d');<\/strong>\r\n\r\n<strong>            }<\/strong>\r\n<strong>        })<\/strong>\r\n<strong>        .mount('#app')<\/strong>\r\n\r\n<strong>    &lt;\/script&gt;<\/strong>\r\n<strong>&lt;\/body&gt;<\/strong>\r\n<strong>&lt;\/html&gt;<\/strong><\/pre>\n<\/div>\n<div>\n<p>\u306f\u3044\u2757<br \/>\n\u4eca\u56de\u306f\u3053\u306e\u30b3\u30fc\u30c9\u3060\u3051\u3067\u3059\u306e\u3067\u3001\u3072\u3068\u3064\u305a\u3064\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<\/div>\n<h2>\u2460 Cropper \u306e\u898b\u305f\u76ee\u3092\u5909\u66f4\u3059\u308b<\/h2>\n<p>\u4eca\u56de\u307c\u304b\u3059\u7bc4\u56f2\u3092\u6307\u5b9a\u3059\u308b\u306e\u306f<strong> <a href=\"https:\/\/fengyuanchen.github.io\/cropperjs\/\" target=\"_blank\" rel=\"noopener\">Cropper.js<\/a><\/strong> \u3068\u3044\u3046\u6709\u540d\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u3067\u306f\u9078\u629e\u3057\u305f\u753b\u50cf\u304c\u771f\u3093\u4e2d\u306b\u6765\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u30ab\u30b9\u30bf\u30e0\u306e\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3092\u30bb\u30c3\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u2461 Cropper \u3092\u8a2d\u5b9a\u3059\u308b<\/h2>\n<p>\u3053\u3053\u3067\u3001<code>Cropper.js<\/code>\u3092\u8d77\u52d5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30fc\u30c9\u3092\u898b\u3066\u3044\u305f\u3060\u304f\u3068\u5206\u304b\u308b\u3068\u304a\u308a\u3001\u3082\u3057\u3059\u3067\u306b<code>Cropper.js<\/code>\u304c\u8d77\u52d5\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u4e00\u65e6\u7834\u68c4\u3057\u3066\u304b\u3089\u518d\u5ea6\u65b0\u3057\u304f\u8d77\u52d5\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3057\u3066\u8a2d\u5b9a\u3055\u308c\u305f<code>cropend<\/code>\u306f\u7bc4\u56f2\u6307\u5b9a\u304c\u5b8c\u4e86\u3057\u305f\u3068\u304d\u306b\u547c\u3070\u308c\u308b\u30a4\u30d9\u30f3\u30c8\u306b\u306a\u308a\u307e\u3059\u3002\uff08\u4e2d\u8eab\u306b\u95a2\u3057\u3066\u306f\u5f8c\u3067\u3054\u7d39\u4ecb\u3057\u307e\u3059\ud83d\udc4d\uff09<\/p>\n<h2>\u2462 Canvas \u306b\u63cf\u753b\u3059\u308b<\/h2>\n<p>\u3053\u306e\u90e8\u5206\u3067\u91cd\u8981\u306a\u306e\u304c\u300c\u3084\u308a\u305f\u3044\u3053\u3068\u300d\u3067\u3082\u66f8\u3044\u305f\u300c<strong>\u3053\u308c\u307e\u3067\u306e\u4f5c\u696d\u3092\uff11\u3064\u305a\u3064\u524d\u306b\u623b\u308c\u308b\u3088\u3046\u306b\u3059\u308b<\/strong>\u300d\u3068\u3044\u3046\u90e8\u5206\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001<code>cropHistories<\/code>\u306b\u306f\u300c<strong>\u3069\u306e\u7bc4\u56f2\u3092\u3001\u3069\u306e\u5f37\u3055\u3067\u307c\u304b\u3059\u306e\u304b\uff1f<\/strong>\u300d\u3068\u3044\u3046\u60c5\u5831\u304c\uff11\u3064\u305a\u3064\u6e9c\u307e\u3063\u3066\u3044\u304d\u3001\u305d\u308c\u3092\u5143\u306b\u3057\u3066\u753b\u50cf\u3092\u63cf\u753b\uff06\u307c\u304b\u3057\u3092\u884c\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u8a33\u3067\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u8907\u6570\u30f6\u6240\u306e\u300c\u307c\u304b\u3057\u300d\u3082\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\ud83d\ude04<\/p>\n<h2>\u2463 \u3072\u3068\u3064\u524d\u306b\u623b\u308b<\/h2>\n<p>\u2462\u3067\u3082\u7d39\u4ecb\u3057\u305f\u300c<strong>\u4f5c\u696d\u5185\u5bb9<\/strong>\u300d\u304c\u6e9c\u307e\u3063\u3066\u3044\u304f<code>cropHistories<\/code>\u306e\u6700\u5f8c\u306e\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3057\u3001\u518d\u5ea6\u753b\u50cf\u3092\u63cf\u753b\u3059\u308b\u3053\u3068\u3067\u300c<strong>\uff11\u3064\u524d\u306b\u623b\u3059<\/strong>\u300d\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u2464 \u753b\u50cf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/h2>\n<p>\u73fe\u5728\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u753b\u50cf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u90e8\u5206\u3067\u3059\u3002<br \/>\n\u6d41\u308c\u3068\u3057\u3066\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30ad\u30e3\u30f3\u30d0\u30b9\u304b\u3089\u753b\u50cf\u30c7\u30fc\u30bf\uff08dataURL\uff09\u3092\u53d6\u5f97<\/li>\n<li>\u30ea\u30f3\u30af\u3092\u4f5c\u3063\u3066 href \u306b\u305d\u306e\u753b\u50cf\u30c7\u30fc\u30bf\u3092\u30bb\u30c3\u30c8<\/li>\n<li>\u30ea\u30f3\u30af\u306b download \u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u3064\u3051\u308b<\/li>\n<li>\u6700\u5f8c\u306b\u305d\u306e\u30ea\u30f3\u30af\u3092\u300c\u30af\u30ea\u30c3\u30af\u3057\u305f\u3053\u3068\u306b\u3059\u308b\u300d<\/li>\n<\/ol>\n<h2>\u2465 \u307c\u304b\u3059\u4f4d\u7f6e\u304c\u7bc4\u56f2\u9078\u629e\u3055\u308c\u305f\u3068\u304d<\/h2>\n<p>\u3053\u3053\u3067\u3001\u300c<strong>\u4f5c\u696d\u5185\u5bb9<\/strong>\u300d\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001<code>cropHistories<\/code>\u306e\u914d\u5217\u306b\u65b0\u3057\u304f\u300c<strong>\u3069\u306e\u7bc4\u56f2\u3092\u3001\u3069\u306e\u5f37\u3055\u3067\u307c\u304b\u3059\u306e\u304b<\/strong>\u300d\u306e\u30c7\u30fc\u30bf\u304c\u8ffd\u52a0\u306b\u306a\u308b\u308f\u3051\u3067\u3059\u3002<\/p>\n<h2>\u2466 \u753b\u50cf\u304c\u9078\u629e\u3055\u308c\u305f\u3068\u304d<\/h2>\n<p>\u3053\u308c\u306f\u300c<strong>\u307c\u304b\u3057\u51e6\u7406<\/strong>\u300d\u3092\u3057\u305f\u3044\u753b\u50cf\u3092\u9078\u629e\u3057\u305f\u3068\u304d\u306e\u51e6\u7406\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4e2d\u8eab\u3068\u3057\u3066\u306f\u3044\u308d\u3044\u308d\u3068<code>width<\/code>\u3084<code>height<\/code>\u3092\u5909\u66f4\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u57fa\u672c\u7684\u306a\u6d41\u308c\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u753b\u50cf\u30c7\u30fc\u30bf\u3092\u53d6\u5f97<\/li>\n<li>\u305d\u308c\u3092\u30ad\u30e3\u30f3\u30d0\u30b9\u3078\u63cf\u753b<\/li>\n<li>Cropper.js \u3092\u8d77\u52d5\u3059\u308b<\/li>\n<\/ol>\n<p>\u4eca\u56de\u306f\u77ed\u3044\u3067\u3059\u304c\u3053\u308c\u3067\u4f5c\u696d\u306f\u7d42\u4e86\u3067\u3059\u3002<br \/>\n\u304a\u75b2\u308c\u69d8\u3067\u3057\u305f\ud83d\ude04\u2728<\/p>\n<h1>\u30c6\u30b9\u30c8\u3057\u3066\u307f\u308b<\/h1>\n<p>\u3067\u306f\u5b9f\u969b\u306b\u30c6\u30b9\u30c8\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u2757<\/p>\n<p>\u307e\u305a\u300c<strong>https:\/\/********\/canvas_blur<\/strong>\u300d\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30d5\u30a9\u30fc\u30e0\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u307e\u305a\u306f\u753b\u50cf\u3092\u9078\u629e\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12452\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_1.png\" alt=\"\" width=\"183\" height=\"149\" \/><\/p>\n<p>\u3059\u308b\u3068\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12453\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_2.png\" alt=\"\" width=\"339\" height=\"412\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_2.png 339w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_2-247x300.png 247w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u753b\u50cf\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002\uff08\u79c1\u306e\u5199\u771f\u3067\u3059\u304c\u3001\u3082\u3046\u8fd1\u5f71\u3067\u306f\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u305d\u308d\u305d\u308d\u5909\u3048\u6642\u304b\u3082\u3067\u3059\u306d\u2026\ud83d\ude05\uff09<\/p>\n<p>\u3067\u306f\u3001\u9854\u90e8\u5206\u306b\u300c\u307c\u304b\u3057\u300d\u3092\u5165\u308c\u3066\u307f\u307e\u3057\u3087\u3046\u2757<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12454\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_3.png\" alt=\"\" width=\"339\" height=\"414\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_3.png 339w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_3-246x300.png 246w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/><\/p>\n<p>\u3069\u3046\u306a\u308b\u3067\u3057\u3087\u3046\u304b\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12455\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_4.png\" alt=\"\" width=\"458\" height=\"412\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_4.png 458w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_4-300x270.png 300w\" sizes=\"auto, (max-width: 458px) 100vw, 458px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u9854\u306b\u300c\u307c\u304b\u3057\u300d\u304c\u5165\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u6210\u529f\u3067\u3059\ud83d\ude04<\/p>\n<p>\u3067\u306f\u3001\u4f5c\u696d\u3092\u9593\u9055\u3048\u305f\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u624b\u306e\u90e8\u5206\u3092\u307c\u304b\u3057\u3066\u304b\u3089\u300c\u3072\u3068\u3064\u524d\u306b\u623b\u308b\u300d\u3067\u5143\u306b\u623b\u305b\u308b\u304b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12456\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_5.png\" alt=\"\" width=\"284\" height=\"279\" \/><\/p>\n<p>\u300c\u3072\u3068\u3064\u524d\u306b\u623b\u308b\u300d\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12457\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_6.png\" alt=\"\" width=\"136\" height=\"43\" \/><\/p>\n<p>\u3059\u308b\u3068\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12458\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_7.png\" alt=\"\" width=\"269\" height=\"271\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_7.png 269w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_7-150x150.png 150w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_7-100x100.png 100w\" sizes=\"auto, (max-width: 269px) 100vw, 269px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u5143\u306b\u623b\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u3082\u6210\u529f\u3067\u3059\ud83d\ude04<\/p>\n<p>\u3067\u306f\u6700\u5f8c\u306b\u300c<strong>\u307c\u304b\u3057\u306e\u5f37\u3055<\/strong>\u300d\u3092\u5909\u3048\u3066\uff12\u7b87\u6240\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3046\u307e\u304f\u3044\u304f\u3067\u3057\u3087\u3046\u304b\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12459\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_8.png\" alt=\"\" width=\"272\" height=\"272\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_8.png 272w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_8-150x150.png 150w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/02\/vue_canvas_blur_8-100x100.png 100w\" sizes=\"auto, (max-width: 272px) 100vw, 272px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u3061\u3087\u3063\u3068\u308f\u304b\u308a\u306b\u304f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u9854\u306e\u53f3\u534a\u5206\u3068\u5de6\u534a\u5206\u3067\u300c<strong>\u307c\u304b\u3057\u306e\u5f37\u3055<\/strong>\u300d\u3092\u5909\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3082\u6210\u529f\u3067\u3059\ud83d\ude04\u2728<\/p>\n<h1>\u5b9f\u969b\u306e\u30da\u30fc\u30b8\u306f\u3053\u3061\u3089\u2757<\/h1>\n<p>\u4eca\u56de\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u300c<strong>\u8857\u89d2\u30b3\u30ec\u30af\u30b7\u30e7\u30f3<\/strong>\u300d\u306b\u65b0\u3057\u304f\u4f5c\u3063\u305f\u30da\u30fc\u30b8\u306f\u3053\u3061\u3089\u3067\u3059\u3002<\/p>\n<p>\u305c\u3072\u7686\u3055\u3093\u3082\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<p>\ud83d\udcdd <a href=\"https:\/\/machi-collection.com\/blur_photo\">\u5199\u771f\u306e\u307c\u304b\u3057\u30c4\u30fc\u30eb\uff08\u8857\u89d2\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\uff09<\/a><\/p>\n<h1>\u4f01\u696d\u69d8\u3078\u306e\u3054\u63d0\u6848<\/h1>\n<p>\u4eca\u56de\u306e\u3088\u3046\u306b\u65e5\u3005\u306e\u696d\u52d9\u3092\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3059\u308b\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3001\u4f5c\u696d\u52b9\u7387\u3092\u4e00\u6bb5\u3068\u4e0a\u3052\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u5404\u4f01\u696d\u69d8\u306e\u72ec\u7279\u306a\u4ed5\u69d8\u306b\u3082\u5bfe\u5fdc\u3067\u304d\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001\u3082\u3057\u305d\u3046\u3044\u3063\u305f\u6a5f\u80fd\u3092\u3054\u5e0c\u671b\u306e\u5834\u5408\u306f\u305c\u3072\u304a\u554f\u3044\u5408\u308f\u305b\u304b\u3089\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u304a\u5f85\u3061\u3057\u3066\u304a\u308a\u307e\u3059\u3002\ud83d\ude04\u2728<\/p>\n<h1>\u304a\u308f\u308a\u306b<\/h1>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f\u307b\u307c<code>JavaScript<\/code>\u90e8\u5206\u3060\u3051\u306e\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u79c1\u306f\u3053\u3046\u3044\u3063\u305f\u300c<strong>\u3046\u30fc\u3093\u3001\u4f55\u56de\u3082\u304a\u3093\u306a\u3058\u4f5c\u696d\u3081\u3093\u3069\u3046\u3060\u306a\u2026\ud83d\ude05<\/strong>\u300d\u3068\u3044\u3046\u3082\u306e\u306f\u4f5c\u696d\u52b9\u7387\u3092\u4e0a\u3052\u308b\u305f\u3081\u306b\u500b\u4eba\u7684\u306b\u30b7\u30b9\u30c6\u30e0\u3092\u3064\u304f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u30e1\u30fc\u30eb\u306e\u8fd4\u4fe1\u3082\u30af\u30ea\u30c3\u30af\u3059\u308b\u3060\u3051\u3067\u5b9a\u578b\u30c6\u30ad\u30b9\u30c8\u306b\u5dee\u3057\u8fbc\u3093\u3067\u304f\u308c\u308b\u3088\u3046\u306b\u3057\u305f\u308a\u3001\u627f\u8a8d\u4f5c\u696d\u306f\u30af\u30ea\u30c3\u30af\u3060\u3051\u3067<code>OK<\/code>\u306b\u3057\u305f\u308a\u3001\u5199\u771f\u6295\u7a3f\u304c\u3042\u3063\u305f\u3068\u304d\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30af\u30ea\u30c3\u30af\u3060\u3051\u3067\u4f5c\u6210\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u308a\u3002<\/p>\n<p>\u30db\u30f3\u30c8\u306b\u30d7\u30ed\u30b0\u30e9\u30de\u3067\u826f\u304b\u3063\u305f\u3068\u601d\u3046\u77ac\u9593\u3067\u3059\u306d\ud83d\udc4d<\/p>\n<p>\u305c\u3072\u7686\u3055\u3093\u3082\u300c\u3046\u30fc\u3093\u3001\u6bce\u56de\u9762\u5012\u2757\u2757\u300d\u3092\u81ea\u5206\u3067\u89e3\u6c7a\u3067\u304d\u308b\u30b7\u30b9\u30c6\u30e0\u3092\u3064\u304f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u301c\u2757<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8777 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/03\/no_15.png\" alt=\"\" width=\"338\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/03\/no_15.png 338w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/03\/no_15-300x284.png 300w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/>\u300c\u3068\u306f\u3044\u3048\u3001\u81ea\u5206\u3067\u3064\u304f\u3063\u305f<br \/>\n<code>PHP<\/code>\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f<br \/>\n\u53f2\u4e0a\u6700\u4f4e\u306e\u51fa\u6765\u3067\u3057\u305f\u2026<code>Laravel<\/code>\u3059\u3052\u3048\ud83d\ude04\u300d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u79c1\u306f\u4ee5\u524d\u304b\u3089\u300c\u3061\u3087\u3063\u3068\u5909\u308f\u3063\u305f\u5834\u6240\u3092\u65c5\u884c\u3059\u308b\u300d\u3068\u3044\u3046\u8857\u89d2\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3068\u3044\u3046\u3001\uff08100\u30d1\u30fc\u81ea\u5df1\u6e80\u8db3\u306e\uff09\u500b\u4eba\u30b5\u30a4\u30c8\u3092\u904b\u55b6\u3057\u3066\u3044\u307e\u3059\u3002 \u5168\u304f\u5229\u76ca\u306f\u51fa\u3066\u3044\u306a\u3044 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.capilano-fw.com\/?p=12450\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Vue 3 + Cropper.js \u3067\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u4fdd\u8b77\u306e\u305f\u3081\u306e\u300c\u307c\u304b\u3057\u300d\u6a5f\u80fd\u3092\u3064\u304f\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":12462,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-12450","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vue-js"],"_links":{"self":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/12450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12450"}],"version-history":[{"count":3,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/12450\/revisions"}],"predecessor-version":[{"id":12463,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/12450\/revisions\/12463"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/media\/12462"}],"wp:attachment":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}