{"id":2934,"date":"2026-10-30T02:14:18","date_gmt":"2026-10-30T02:14:18","guid":{"rendered":"https:\/\/hubiify.com\/?page_id=2934"},"modified":"2026-11-01T23:35:13","modified_gmt":"2026-11-01T23:35:13","slug":"interface-screenshot-preparation-tool","status":"publish","type":"page","link":"https:\/\/hubiify.com\/en\/interface-screenshot-preparation-tool\/","title":{"rendered":"Interface Screenshot Preparation Tool"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2934\" class=\"elementor elementor-2934\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b1842b6 e-flex e-con-boxed e-con e-parent\" data-id=\"b1842b6\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7bd0952 elementor-widget elementor-widget-html\" data-id=\"7bd0952\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!-- Paste this entire file into one Elementor HTML widget. -->\n<iframe class=\"wp-dark-mode-ignore\" id=\"hubiify-interface-tool-frame\" title=\"Interface Screenshot Preparation Tool\" sandbox=\"allow-scripts allow-downloads\" style=\"display:block;width:100%;height:1500px;border:0;background:#f5f5f5;color-scheme:light\" srcdoc=\"&lt;!doctype html&gt;&lt;html lang=&quot;en&quot;&gt;&lt;meta charset=&quot;utf-8&quot;&gt;&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,initial-scale=1&quot;&gt;&lt;title&gt;Hubiify \u2022 Interface studio&lt;\/title&gt;&lt;style&gt;*{box-sizing:border-box}body{margin:0;background:#f5f5f5;color:#191919;font:16px\/1.5 Arial,sans-serif}header{background:#000;color:white;padding:22px max(24px,calc((100vw - 1100px)\/2));display:flex;justify-content:space-between;align-items:center;border-bottom:4px solid #ffd800}header strong{font-size:28px}main{max-width:1100px;margin:30px auto;padding:0 20px}h1{font-size:28px;margin:0 0 8px}h2{font-size:21px;margin:0 0 15px}.intro{color:#555;margin-bottom:25px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.panel{background:white;padding:24px;border-radius:12px;border:1px solid #ddd}label{display:block;font-weight:bold;margin:16px 0 6px}input[type=text],select{width:100%;padding:12px;border:1px solid #aaa;border-radius:6px;font:inherit}input[type=file]{max-width:100%}button{font:700 15px Arial;border:0;border-radius:6px;padding:12px 16px;cursor:pointer;background:#ffd800;color:#000;margin:8px 5px 0 0}button:hover{background:#1e4dbc;color:white}button:disabled{opacity:.45;cursor:not-allowed}.secondary{background:#eee}canvas{display:block;width:100%;height:auto;border:1px solid #ddd;border-radius:6px;margin-top:14px}#source{touch-action:none;cursor:crosshair;background:repeating-conic-gradient(#eee 0% 25%,white 0% 50%) 0\/20px 20px}small{display:block;color:#555;margin-top:8px}.note{background:#f5f5f5;padding:12px;border-radius:6px;margin-top:16px}#status{min-height:48px;color:#555}#status.warn{color:#8a3600}input[type=range]{width:100%}footer{font-size:13px;color:#555;margin:25px 0}@media(max-width:760px){.grid{grid-template-columns:1fr}header{padding:18px 20px}.panel{padding:18px}}\/* Rainbow hue track: retain colour controls alongside HEX\/RGB. *\/\n#hue{appearance:none;-webkit-appearance:none;display:block;width:100%;height:18px;margin:14px 0;border:1px solid #ccc;border-radius:999px;background:linear-gradient(to right,#ff0000 0%,#ffff00 16.667%,#00ff00 33.333%,#00ffff 50%,#0000ff 66.667%,#ff00ff 83.333%,#ff0000 100%);cursor:pointer;touch-action:pan-y}\n#hue::-webkit-slider-runnable-track{height:18px;border-radius:999px;background:transparent}\n#hue::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:26px;height:26px;margin-top:-4px;border-radius:50%;border:3px solid white;background:var(--hue-colour,#ff0000);box-shadow:0 0 0 1px #555,0 2px 5px #0005}\n#hue::-moz-range-track{height:18px;border-radius:999px;background:transparent}\n#hue::-moz-range-thumb{width:21px;height:21px;border-radius:50%;border:3px solid white;background:var(--hue-colour,#ff0000);box-shadow:0 0 0 1px #555}\n#hue:focus-visible{outline:3px solid #1e4dbc;outline-offset:6px}\n&lt;\/style&gt;&lt;div hidden aria-hidden=&quot;true&quot;&gt;&lt;select id=&quot;lang&quot; aria-label=&quot;Language&quot; style=&quot;width:auto&quot;&gt;&lt;option value=&quot;en&quot;&gt;English&lt;\/option&gt;&lt;option value=&quot;fr&quot;&gt;Fran\u00e7ais&lt;\/option&gt;&lt;\/select&gt;&lt;\/div&gt;&lt;main style=&quot;margin-top:0;padding-top:28px&quot;&gt;&lt;h1 data-i=&quot;title&quot;&gt;&lt;\/h1&gt;&lt;p class=&quot;intro&quot; data-i=&quot;intro&quot;&gt;&lt;\/p&gt;&lt;div class=&quot;grid&quot;&gt;&lt;section class=&quot;panel&quot;&gt;&lt;h2 data-i=&quot;one&quot;&gt;&lt;\/h2&gt;&lt;input id=&quot;file&quot; type=&quot;file&quot; accept=&quot;image\/png,image\/jpeg,image\/webp,image\/avif,.png,.jpg,.jpeg,.webp,.avif&quot;&gt;&lt;small data-i=&quot;formats&quot;&gt;&lt;\/small&gt;&lt;canvas id=&quot;source&quot; width=&quot;600&quot; height=&quot;350&quot; aria-label=&quot;Crop selection&quot;&gt;&lt;\/canvas&gt;&lt;small data-i=&quot;crophelp&quot;&gt;&lt;\/small&gt;&lt;div&gt;&lt;button id=&quot;reset&quot; class=&quot;secondary&quot; disabled data-i=&quot;reset&quot;&gt;&lt;\/button&gt;&lt;button id=&quot;trim&quot; class=&quot;secondary&quot; disabled data-i=&quot;trim&quot;&gt;&lt;\/button&gt;&lt;\/div&gt;&lt;h2 style=&quot;margin-top:26px&quot; data-i=&quot;two&quot;&gt;&lt;\/h2&gt;&lt;label for=&quot;name&quot; data-i=&quot;name&quot;&gt;&lt;\/label&gt;&lt;input id=&quot;name&quot; type=&quot;text&quot; maxlength=&quot;80&quot; placeholder=&quot;example-saas&quot;&gt;&lt;label for=&quot;format&quot; data-i=&quot;format&quot;&gt;&lt;\/label&gt;&lt;select id=&quot;format&quot;&gt;&lt;option value=&quot;1920x1080&quot;&gt;PC \u00b7 1920 \u00d7 1080&lt;\/option&gt;&lt;option value=&quot;1600x1200&quot;&gt;Tablette \/ Tablet \u00b7 1600 \u00d7 1200&lt;\/option&gt;&lt;option value=&quot;1080x1350&quot;&gt;Mobile \u00b7 1080 \u00d7 1350&lt;\/option&gt;&lt;\/select&gt;&lt;label for=&quot;style&quot; data-i=&quot;style&quot;&gt;&lt;\/label&gt;&lt;select id=&quot;style&quot;&gt;&lt;option value=&quot;abstract&quot; data-i=&quot;abstract&quot;&gt;&lt;\/option&gt;&lt;option value=&quot;gradient&quot; data-i=&quot;gradient&quot;&gt;&lt;\/option&gt;&lt;option value=&quot;solid&quot; data-i=&quot;solid&quot;&gt;&lt;\/option&gt;&lt;\/select&gt;&lt;div style=&quot;display:grid;grid-template-columns:repeat(3,1fr);gap:10px&quot;&gt;&lt;div&gt;&lt;label for=&quot;c1&quot;&gt;HEX 1&lt;\/label&gt;&lt;input id=&quot;c1&quot; value=&quot;#10152E&quot; maxlength=&quot;7&quot; type=&quot;text&quot;&gt;&lt;input type=&quot;color&quot; id=&quot;p1&quot; value=&quot;#10152e&quot; aria-label=&quot;Colour 1&quot;&gt;&lt;\/div&gt;&lt;div&gt;&lt;label for=&quot;c2&quot;&gt;HEX 2&lt;\/label&gt;&lt;input id=&quot;c2&quot; value=&quot;#284CB6&quot; maxlength=&quot;7&quot; type=&quot;text&quot;&gt;&lt;input type=&quot;color&quot; id=&quot;p2&quot; value=&quot;#284cb6&quot; aria-label=&quot;Colour 2&quot;&gt;&lt;\/div&gt;&lt;div&gt;&lt;label for=&quot;c3&quot;&gt;HEX 3&lt;\/label&gt;&lt;input id=&quot;c3&quot; value=&quot;#9861DD&quot; maxlength=&quot;7&quot; type=&quot;text&quot;&gt;&lt;input type=&quot;color&quot; id=&quot;p3&quot; value=&quot;#9861dd&quot; aria-label=&quot;Colour 3&quot;&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;button id=&quot;resetcolors&quot; class=&quot;secondary&quot; data-i=&quot;resetcolors&quot;&gt;&lt;\/button&gt;&lt;button id=&quot;variant&quot; class=&quot;secondary&quot; data-i=&quot;variant&quot;&gt;&lt;\/button&gt;&lt;label for=&quot;angle&quot; data-i=&quot;angle&quot;&gt;&lt;\/label&gt;&lt;input id=&quot;angle&quot; type=&quot;range&quot; min=&quot;0&quot; max=&quot;360&quot; value=&quot;135&quot;&gt;&lt;label for=&quot;round&quot; data-i=&quot;round&quot;&gt;&lt;\/label&gt;&lt;input id=&quot;round&quot; type=&quot;range&quot; min=&quot;0&quot; max=&quot;30&quot; value=&quot;12&quot;&gt;&lt;label for=&quot;shadow&quot; data-i=&quot;shadow&quot;&gt;&lt;\/label&gt;&lt;select id=&quot;shadow&quot;&gt;&lt;option value=&quot;yes&quot; data-i=&quot;yes&quot;&gt;&lt;\/option&gt;&lt;option value=&quot;no&quot; data-i=&quot;no&quot;&gt;&lt;\/option&gt;&lt;\/select&gt;&lt;label for=&quot;export&quot; data-i=&quot;export&quot;&gt;&lt;\/label&gt;&lt;select id=&quot;export&quot;&gt;&lt;option value=&quot;image\/jpeg&quot;&gt;JPEG \u00b7 95 %&lt;\/option&gt;&lt;option value=&quot;image\/png&quot;&gt;PNG&lt;\/option&gt;&lt;\/select&gt;&lt;label for=&quot;size&quot; data-i=&quot;size&quot;&gt;&lt;\/label&gt;&lt;input id=&quot;size&quot; type=&quot;range&quot; min=&quot;50&quot; max=&quot;94&quot; step=&quot;1&quot; value=&quot;88&quot;&gt;&lt;small id=&quot;sizeval&quot;&gt;&lt;\/small&gt;&lt;\/section&gt;&lt;section class=&quot;panel&quot;&gt;&lt;h2 data-i=&quot;preview&quot;&gt;&lt;\/h2&gt;&lt;canvas id=&quot;out&quot; width=&quot;1920&quot; height=&quot;1080&quot; aria-label=&quot;Interface preview&quot;&gt;&lt;\/canvas&gt;&lt;p id=&quot;status&quot; role=&quot;status&quot; aria-live=&quot;polite&quot;&gt;&lt;\/p&gt;&lt;button id=&quot;download&quot; disabled data-i=&quot;download&quot;&gt;&lt;\/button&gt;&lt;div class=&quot;note&quot; data-i=&quot;privacy&quot;&gt;&lt;\/div&gt;&lt;\/section&gt;&lt;\/div&gt;&lt;footer data-i=&quot;footer&quot;&gt;&lt;\/footer&gt;&lt;\/main&gt;&lt;script&gt;\n(()=&gt;{&#x27;use strict&#x27;;const $=id=&gt;document.getElementById(id),src=$(&#x27;source&#x27;),out=$(&#x27;out&#x27;),sc=src.getContext(&#x27;2d&#x27;),oc=out.getContext(&#x27;2d&#x27;);let img=null,crop=null,drag=null,view=null,vector=false,token=0;const texts={en:{resetcolors:&#x27;Reset to default colours&#x27;,format:&#x27;Output dimensions&#x27;,style:&#x27;Background style&#x27;,abstract:&#x27;Abstract \u00b7 soft waves &amp; halos&#x27;,ribbons:&#x27;Abstract \u00b7 flowing ribbons&#x27;,orbs:&#x27;Abstract \u00b7 luminous orbs&#x27;,layers:&#x27;Abstract \u00b7 layered curves&#x27;,geometry:&#x27;Abstract \u00b7 geometric shapes&#x27;,contours:&#x27;Abstract \u00b7 contour lines&#x27;,gradient:&#x27;Gradient&#x27;,solid:&#x27;Solid colour&#x27;,variant:&#x27;New abstract variation&#x27;,angle:&#x27;Gradient direction&#x27;,round:&#x27;Corner radius \u00b7 pixels&#x27;,shadow:&#x27;Subtle shadow&#x27;,yes:&#x27;On&#x27;,no:&#x27;Off&#x27;,export:&#x27;Export format&#x27;,title:&#x27;Prepare your interface screenshots&#x27;,intro:&#x27;Crop your screenshot and frame it on a custom abstract background.&#x27;,one:&#x27;1. Import &amp; crop&#x27;,formats:&#x27;PNG, JPG, WebP or AVIF \u00b7 Maximum 15 MB. Prefer a desktop screenshot at least 1600 px wide.&#x27;,crophelp:&#x27;Drag over the image to select the interface. The highlighted area will be exported. Use Reset to keep the entire image.&#x27;,reset:&#x27;Reset crop&#x27;,trim:&#x27;Trim transparent margins&#x27;,two:&#x27;2. Adjust the result&#x27;,name:&#x27;Software name&#x27;,background:&#x27;Background&#x27;,white:&#x27;White&#x27;,black:&#x27;Black&#x27;,custom:&#x27;Custom colour&#x27;,size:&#x27;Interface size&#x27;,preview:&#x27;3. Preview &amp; download&#x27;,download:&#x27;Download image&#x27;,privacy:&#x27;Local processing only. Your image is not uploaded, stored or sent to Hubiify. No account needed.&#x27;,footer:&#x27; Resizing does not restore missing detail or sharpen a blurry original.&#x27;,empty:&#x27;Import a screenshot to begin.&#x27;,ready:&#x27;Ready. The screenshot keeps its proportions; only the frame and background are added.&#x27;,warn:&#x27;The screenshot will be enlarged and may lack sharpness. Prefer a larger original.&#x27;,invalid:&#x27;Use a PNG, JPG, WebP or AVIF file smaller than 15 MB.&#x27;,error:&#x27;This image could not be read. For AVIF or WebP, use an up-to-date browser or convert the image to PNG.&#x27;,large:&#x27;Image exceeds the 24-megapixel limit. Use a smaller original.&#x27;,noalpha:&#x27;No transparent margins detected. Use manual cropping for white or coloured margins.&#x27;,loading:&#x27;Reading image\u2026&#x27;},fr:{resetcolors:&#x27;R\u00e9tablir les couleurs par d\u00e9faut&#x27;,format:&#x27;Dimensions finales&#x27;,style:&#x27;Style du fond&#x27;,abstract:&#x27;Abstrait \u00b7 vagues et halos doux&#x27;,ribbons:&#x27;Abstrait \u00b7 rubans fluides&#x27;,orbs:&#x27;Abstrait \u00b7 sph\u00e8res lumineuses&#x27;,layers:&#x27;Abstrait \u00b7 courbes superpos\u00e9es&#x27;,geometry:&#x27;Abstrait \u00b7 formes g\u00e9om\u00e9triques&#x27;,contours:&#x27;Abstrait \u00b7 lignes de relief&#x27;,gradient:&#x27;D\u00e9grad\u00e9&#x27;,solid:&#x27;Couleur unie&#x27;,variant:&#x27;Nouvelle variante abstraite&#x27;,angle:&#x27;Direction du d\u00e9grad\u00e9&#x27;,round:&#x27;Arrondi des coins \u00b7 pixels&#x27;,shadow:&#x27;Ombre l\u00e9g\u00e8re&#x27;,yes:&#x27;Activ\u00e9e&#x27;,no:&#x27;D\u00e9sactiv\u00e9e&#x27;,export:&#x27;Format d\u2019export&#x27;,title:&#x27;Pr\u00e9parez vos captures d\u2019interface&#x27;,intro:&#x27;Recadrez votre capture et encadrez-la sur un fond abstrait personnalis\u00e9.&#x27;,one:&#x27;1. Importer et recadrer&#x27;,formats:&#x27;PNG, JPG, WebP ou AVIF \u00b7 Maximum 15 Mo. Privil\u00e9giez une capture PC d\u2019au moins 1600 px de largeur.&#x27;,crophelp:&#x27;Tracez un rectangle sur l\u2019image pour s\u00e9lectionner l\u2019interface. La zone en surbrillance sera export\u00e9e. R\u00e9initialiser permet de conserver toute l\u2019image.&#x27;,reset:&#x27;R\u00e9initialiser le cadrage&#x27;,trim:&#x27;Retirer les marges transparentes&#x27;,two:&#x27;2. Ajuster le r\u00e9sultat&#x27;,name:&#x27;Nom du logiciel&#x27;,background:&#x27;Fond&#x27;,white:&#x27;Blanc&#x27;,black:&#x27;Noir&#x27;,custom:&#x27;Couleur personnalis\u00e9e&#x27;,size:&#x27;Taille de l\u2019interface&#x27;,preview:&#x27;3. Aper\u00e7u et t\u00e9l\u00e9chargement&#x27;,download:&#x27;T\u00e9l\u00e9charger l\u2019image&#x27;,privacy:&#x27;Traitement local uniquement. Votre image n\u2019est ni t\u00e9l\u00e9vers\u00e9e, ni conserv\u00e9e, ni transmise \u00e0 Hubiify. Aucun compte requis.&#x27;,footer:&#x27; Redimensionner ne recr\u00e9e pas les d\u00e9tails et ne rend pas un original flou plus net.&#x27;,empty:&#x27;Importez une capture pour commencer.&#x27;,ready:&#x27;Pr\u00eat. La capture garde ses proportions ; seuls le cadre et le fond sont ajout\u00e9s.&#x27;,warn:&#x27;La capture sera agrandie et pourrait manquer de nettet\u00e9. Privil\u00e9giez un original plus grand.&#x27;,invalid:&#x27;Choisissez un PNG, JPG, WebP ou AVIF de moins de 15 Mo.&#x27;,error:&#x27;Impossible de lire cette image. Pour AVIF ou WebP, utilisez un navigateur \u00e0 jour ou convertissez l\u2019image en PNG.&#x27;,large:&#x27;L\u2019image d\u00e9passe la limite de 24 m\u00e9gapixels. Utilisez un original plus petit.&#x27;,noalpha:&#x27;Aucune marge transparente d\u00e9tect\u00e9e. Utilisez le cadrage manuel pour les marges blanches ou color\u00e9es.&#x27;,loading:&#x27;Lecture de l\u2019image\u2026&#x27;}};let seed=17;let message=&#x27;empty&#x27;;function status(k){message=k;$(&#x27;status&#x27;).textContent=texts[$(&#x27;lang&#x27;).value][k];$(&#x27;status&#x27;).className=[&#x27;warn&#x27;,&#x27;error&#x27;,&#x27;invalid&#x27;,&#x27;large&#x27;].includes(k)?&#x27;warn&#x27;:&#x27;&#x27;}function language(){document.documentElement.lang=$(&#x27;lang&#x27;).value;document.querySelectorAll(&#x27;[data-i]&#x27;).forEach(e=&gt;e.textContent=texts[$(&#x27;lang&#x27;).value][e.dataset.i]);status(message);render(false)}function drawSource(){sc.clearRect(0,0,src.width,src.height);if(!img)return;const s=Math.min(600\/img.width,350\/img.height);view={s,x:(600-img.width*s)\/2,y:(350-img.height*s)\/2};sc.drawImage(img,view.x,view.y,img.width*s,img.height*s);sc.fillStyle=&#x27;rgba(0,0,0,.35)&#x27;;sc.beginPath();sc.rect(0,0,600,350);sc.rect(view.x+crop.x*s,view.y+crop.y*s,crop.w*s,crop.h*s);sc.fill(&#x27;evenodd&#x27;);sc.strokeStyle=&#x27;#1e4dbc&#x27;;sc.lineWidth=2;sc.strokeRect(view.x+crop.x*s,view.y+crop.y*s,crop.w*s,crop.h*s)}function render(update=true){const dims=$(&#x27;format&#x27;).value.split(&#x27;x&#x27;).map(Number);if(out.width!==dims[0]||out.height!==dims[1]){out.width=dims[0];out.height=dims[1]}const W=out.width,H=out.height,c=[&#x27;c1&#x27;,&#x27;c2&#x27;,&#x27;c3&#x27;].map(id=&gt;\/^#[a-f0-9]{6}$\/i.test($(id).value)?$(id).value:&#x27;#10152e&#x27;);oc.fillStyle=c[0];oc.fillRect(0,0,W,H);let a=+$(&#x27;angle&#x27;).value*Math.PI\/180,dx=Math.cos(a)*W\/2,dy=Math.sin(a)*H\/2;if($(&#x27;style&#x27;).value!==&#x27;solid&#x27;){let g=oc.createLinearGradient(W\/2-dx,H\/2-dy,W\/2+dx,H\/2+dy);g.addColorStop(0,c[0]);g.addColorStop(.55,c[1]);g.addColorStop(1,c[2]);oc.fillStyle=g;oc.fillRect(0,0,W,H)}if($(&#x27;style&#x27;).value===&#x27;abstract&#x27;){let n=seed;const rand=()=&gt;{n=(n*1664525+1013904223)&gt;&gt;&gt;0;return n\/4294967296};for(let i=0;i&lt;5;i++){let x=rand()*W,y=rand()*H,r=(.3+rand()*.5)*Math.max(W,H),g=oc.createRadialGradient(x,y,0,x,y,r);g.addColorStop(0,c[i%3]+&#x27;a0&#x27;);g.addColorStop(1,c[i%3]+&#x27;00&#x27;);oc.fillStyle=g;oc.fillRect(0,0,W,H)}oc.save();oc.globalAlpha=.10;oc.strokeStyle=&#x27;white&#x27;;oc.lineWidth=W\/1000;for(let i=0;i&lt;12;i++){oc.beginPath();oc.moveTo(-W*.1,H*(.30+i*.035));oc.bezierCurveTo(W*.35,-H*.15,W*.55,H*1.25,W*1.1,H*(.5+i*.03));oc.stroke()}oc.restore()}const kind=$(&#x27;style&#x27;).value;if([&#x27;ribbons&#x27;,&#x27;orbs&#x27;,&#x27;layers&#x27;,&#x27;geometry&#x27;,&#x27;contours&#x27;].includes(kind)){let n=seed;const rand=()=&gt;{n=(n*1664525+1013904223)&gt;&gt;&gt;0;return n\/4294967296};oc.save();if(kind===&#x27;ribbons&#x27;){for(let i=0;i&lt;9;i++){const y=(i\/8)*H,shift=(rand()-.5)*H;oc.beginPath();oc.moveTo(-W*.15,y);oc.bezierCurveTo(W*.25,y-H*.65+shift,W*.65,y+H*.65+shift,W*1.15,y-H*.15);oc.strokeStyle=c[(i+1)%3];oc.globalAlpha=.3+rand()*.3;oc.lineWidth=H*(.025+rand()*.065);oc.lineCap=&#x27;round&#x27;;oc.stroke()}}else if(kind===&#x27;orbs&#x27;){for(let i=0;i&lt;9;i++){const x=rand()*W,y=rand()*H,r=(.08+rand()*.22)*Math.min(W,H),g=oc.createRadialGradient(x-r*.3,y-r*.35,0,x,y,r);g.addColorStop(0,&#x27;#ffffffb0&#x27;);g.addColorStop(.3,c[(i+1)%3]+&#x27;b0&#x27;);g.addColorStop(1,c[i%3]+&#x27;00&#x27;);oc.fillStyle=g;oc.beginPath();oc.arc(x,y,r,0,Math.PI*2);oc.fill()}}else if(kind===&#x27;layers&#x27;){for(let i=0;i&lt;7;i++){const y=H*(.15+i*.13),bend=(rand()-.5)*H*.5;oc.beginPath();oc.moveTo(0,y);oc.bezierCurveTo(W*.3,y-H*.35+bend,W*.65,y+H*.3,W,y-H*.15);oc.lineTo(W,H);oc.lineTo(0,H);oc.closePath();oc.globalAlpha=.22;oc.fillStyle=c[i%3];oc.fill();oc.strokeStyle=&#x27;#ffffff35&#x27;;oc.lineWidth=2;oc.stroke()}}else if(kind===&#x27;geometry&#x27;){for(let i=0;i&lt;18;i++){oc.save();oc.translate(rand()*W,rand()*H);oc.rotate(rand()*Math.PI);oc.globalAlpha=.1+rand()*.18;oc.fillStyle=c[i%3];oc.strokeStyle=&#x27;#ffffff70&#x27;;oc.lineWidth=2;const z=(.05+rand()*.2)*W;oc.beginPath();if(i%3===0)oc.arc(0,0,z*.6,0,Math.PI*2);else if(i%3===1)oc.roundRect(-z\/2,-z\/2,z,z,z*.12);else{oc.moveTo(0,-z*.65);oc.lineTo(z*.6,z*.5);oc.lineTo(-z*.6,z*.5);oc.closePath()}oc.fill();oc.stroke();oc.restore()}}else if(kind===&#x27;contours&#x27;){const phase=rand()*Math.PI*2;oc.strokeStyle=&#x27;#ffffff&#x27;;oc.globalAlpha=.18;oc.lineWidth=Math.max(1,W\/1200);for(let i=-12;i&lt;42;i++){oc.beginPath();for(let j=0;j&lt;=100;j++){const x=j\/100*W,y=i*H\/25+Math.sin(j\/100*Math.PI*2+phase)*H*.10+Math.sin(j\/100*Math.PI*3-phase)*H*.045;j?oc.lineTo(x,y):oc.moveTo(x,y)}oc.stroke()}}oc.restore()}$(&#x27;sizeval&#x27;).textContent=$(&#x27;size&#x27;).value+&#x27; %&#x27;;if(!img)return;const fraction=+$(&#x27;size&#x27;).value\/100,scale=Math.min(W*fraction\/crop.w,H*fraction\/crop.h),w=crop.w*scale,h=crop.h*scale,x=(W-w)\/2,y=(H-h)\/2,r=Math.min(+$(&#x27;round&#x27;).value,w\/2,h\/2);function rounded(){oc.beginPath();oc.roundRect(x,y,w,h,r)}const alphaKey=[token,crop.x,crop.y,crop.w,crop.h].join(&#x27;:&#x27;);if(render.alphaKey!==alphaKey){const probe=document.createElement(&#x27;canvas&#x27;);probe.width=Math.max(1,Math.min(256,Math.round(crop.w)));probe.height=Math.max(1,Math.min(256,Math.round(crop.h)));const pc=probe.getContext(&#x27;2d&#x27;,{willReadFrequently:true});pc.drawImage(img,crop.x,crop.y,crop.w,crop.h,0,0,probe.width,probe.height);const pixels=pc.getImageData(0,0,probe.width,probe.height).data;let clear=0;for(let i=3;i&lt;pixels.length;i+=4)if(pixels[i]&lt;250)clear++;render.hasAlpha=clear&gt;pixels.length\/4*.001;render.alphaKey=alphaKey}if(render.hasAlpha){oc.save();oc.imageSmoothingEnabled=true;oc.imageSmoothingQuality=&#x27;high&#x27;;if($(&#x27;shadow&#x27;).value===&#x27;yes&#x27;){oc.shadowColor=&#x27;rgba(0,0,0,.32)&#x27;;oc.shadowBlur=W*.025;oc.shadowOffsetY=H*.014}oc.drawImage(img,crop.x,crop.y,crop.w,crop.h,x,y,w,h);oc.restore()}else{oc.save();if($(&#x27;shadow&#x27;).value===&#x27;yes&#x27;){oc.shadowColor=&#x27;rgba(0,0,0,.32)&#x27;;oc.shadowBlur=W*.025;oc.shadowOffsetY=H*.014}oc.fillStyle=&#x27;#fff&#x27;;rounded();oc.fill();oc.restore();oc.save();rounded();oc.clip();oc.imageSmoothingEnabled=true;oc.imageSmoothingQuality=&#x27;high&#x27;;oc.drawImage(img,crop.x,crop.y,crop.w,crop.h,x,y,w,h);oc.restore();oc.save();oc.strokeStyle=&#x27;rgba(255,255,255,.65)&#x27;;oc.lineWidth=2;rounded();oc.stroke();oc.restore();}drawSource();if(update)status(scale&gt;1.01?&#x27;warn&#x27;:&#x27;ready&#x27;)}\n\n$(&#x27;file&#x27;).addEventListener(&#x27;change&#x27;,async e=&gt;{const n=++token;img=null;crop=null;view=null;vector=false;[&#x27;download&#x27;,&#x27;reset&#x27;,&#x27;trim&#x27;].forEach(id=&gt;$(id).disabled=true);sc.clearRect(0,0,600,350);render(false);const f=e.target.files[0];if(!f){status(&#x27;empty&#x27;);return}const isSVG=false;const supportedType=[&#x27;image\/png&#x27;,&#x27;image\/jpeg&#x27;,&#x27;image\/webp&#x27;,&#x27;image\/avif&#x27;].includes(f.type.toLowerCase());const supportedExtension=\/\\.(png|jpe?g|webp|avif)$\/i.test(f.name);if((!supportedType&amp;&amp;!supportedExtension)||f.size&gt;15*1024*1024){status(&#x27;invalid&#x27;);return}status(&#x27;loading&#x27;);let url;try{let input=f;if(isSVG){const doc=new DOMParser().parseFromString(await f.text(),&#x27;image\/svg+xml&#x27;),root=doc.documentElement;if(doc.querySelector(&#x27;parsererror&#x27;)||root.localName!==&#x27;svg&#x27;)throw Error(&#x27;Invalid SVG&#x27;);if(doc.doctype)throw Error(&#x27;SVG doctype unsupported&#x27;);const forbidden=&#x27;script,foreignObject,iframe,object,embed,audio,video,animate,animateMotion,animateTransform,set&#x27;;root.querySelectorAll(forbidden).forEach(el=&gt;el.remove());for(const el of [root,...root.querySelectorAll(&#x27;*&#x27;)])for(const attr of [...el.attributes]){const k=attr.localName.toLowerCase(),v=attr.value.trim();if(k.startsWith(&#x27;on&#x27;)||k===&#x27;base&#x27;||((k===&#x27;href&#x27;||k===&#x27;src&#x27;)&amp;&amp;!v.startsWith(&#x27;#&#x27;)))el.removeAttributeNode(attr);else if(\/url\\s*\\(\/i.test(v)&amp;&amp;!\/^(?:[^u]|u(?!rl))*$\/i.test(v)){if([...v.matchAll(\/url\\s*\\(([^)]*)\\)\/gi)].some(m=&gt;!m[1].replace(\/[&quot;&#x27;]\/g,&#x27;&#x27;).trim().startsWith(&#x27;#&#x27;)))el.removeAttributeNode(attr)}}root.querySelectorAll(&#x27;style&#x27;).forEach(el=&gt;{if(\/@import|(?:https?:|data:|file:|javascript:|\\\/\\\/)\/i.test(el.textContent))el.remove()});let vb=(root.getAttribute(&#x27;viewBox&#x27;)||&#x27;&#x27;).trim().split(\/[ ,]+\/).map(Number);let w=parseFloat(root.getAttribute(&#x27;width&#x27;)),h=parseFloat(root.getAttribute(&#x27;height&#x27;));if(vb.length===4&amp;&amp;vb.every(Number.isFinite)&amp;&amp;vb[2]&gt;0&amp;&amp;vb[3]&gt;0){w=vb[2];h=vb[3]}if(!(w&gt;0&amp;&amp;h&gt;0)){w=900;h=900}const scale=4096\/Math.max(w,h);root.setAttribute(&#x27;width&#x27;,Math.max(1,Math.round(w*scale)));root.setAttribute(&#x27;height&#x27;,Math.max(1,Math.round(h*scale)));root.setAttribute(&#x27;xmlns&#x27;,&#x27;http:\/\/www.w3.org\/2000\/svg&#x27;);input=new Blob([new XMLSerializer().serializeToString(root)],{type:&#x27;image\/svg+xml&#x27;});vector=true}url=URL.createObjectURL(input);const im=new Image();im.src=url;await im.decode();if(n!==token)return;if(im.width*im.height&gt;24000000){status(&#x27;large&#x27;);return}img=im;crop={x:0,y:0,w:im.width,h:im.height};$(&#x27;name&#x27;).value=f.name.replace(\/\\.[^.]+$\/,&#x27;&#x27;).replace(\/[-_]?logo.*$\/i,&#x27;&#x27;)||&#x27;software&#x27;;[&#x27;download&#x27;,&#x27;reset&#x27;,&#x27;trim&#x27;].forEach(id=&gt;$(id).disabled=false);render()}catch{if(n===token)status(&#x27;error&#x27;)}finally{URL.revokeObjectURL(url)}});\nfunction point(e){const b=src.getBoundingClientRect();return{x:Math.max(0,Math.min(img.width,((e.clientX-b.left)*600\/b.width-view.x)\/view.s)),y:Math.max(0,Math.min(img.height,((e.clientY-b.top)*350\/b.height-view.y)\/view.s))}}src.onpointerdown=e=&gt;{if(!img)return;drag={start:point(e),old:{...crop}};src.setPointerCapture(e.pointerId)};src.onpointermove=e=&gt;{if(!drag)return;const p=point(e),a=drag.start;crop={x:Math.min(a.x,p.x),y:Math.min(a.y,p.y),w:Math.max(1,Math.abs(p.x-a.x)),h:Math.max(1,Math.abs(p.y-a.y))};render()};src.onpointerup=()=&gt;{if(!drag)return;if(crop.w&lt;3||crop.h&lt;3)crop=drag.old;drag=null;render()};src.onpointercancel=()=&gt;{if(drag){crop=drag.old;drag=null;render()}};$(&#x27;reset&#x27;).onclick=()=&gt;{crop={x:0,y:0,w:img.width,h:img.height};render()};$(&#x27;trim&#x27;).onclick=()=&gt;{const c=document.createElement(&#x27;canvas&#x27;);c.width=img.width;c.height=img.height;const ctx=c.getContext(&#x27;2d&#x27;,{willReadFrequently:true});ctx.drawImage(img,0,0);const d=ctx.getImageData(0,0,c.width,c.height).data;let l=c.width,t=c.height,r=-1,b=-1;for(let y=0;y&lt;c.height;y++)for(let x=0;x&lt;c.width;x++)if(d[(y*c.width+x)*4+3]&gt;10){l=Math.min(l,x);r=Math.max(r,x);t=Math.min(t,y);b=Math.max(b,y)}if(r&lt;0||l===0&amp;&amp;t===0&amp;&amp;r===c.width-1&amp;&amp;b===c.height-1){status(&#x27;noalpha&#x27;);return}crop={x:l,y:t,w:r-l+1,h:b-t+1};render()};[&#x27;format&#x27;,&#x27;style&#x27;,&#x27;angle&#x27;,&#x27;round&#x27;,&#x27;shadow&#x27;].forEach(id=&gt;$(id).addEventListener(&#x27;input&#x27;,()=&gt;render()));for(let i=1;i&lt;=3;i++){$(&#x27;c&#x27;+i).addEventListener(&#x27;input&#x27;,()=&gt;{const v=$(&#x27;c&#x27;+i).value;if(\/^#[a-f0-9]{6}$\/i.test(v)){$(&#x27;p&#x27;+i).value=v;$(&#x27;c&#x27;+i).removeAttribute(&#x27;aria-invalid&#x27;);render()}else $(&#x27;c&#x27;+i).setAttribute(&#x27;aria-invalid&#x27;,&#x27;true&#x27;)});$(&#x27;p&#x27;+i).addEventListener(&#x27;input&#x27;,()=&gt;{$(&#x27;c&#x27;+i).value=$(&#x27;p&#x27;+i).value.toUpperCase();$(&#x27;c&#x27;+i).removeAttribute(&#x27;aria-invalid&#x27;);render()})}$(&#x27;resetcolors&#x27;).onclick=()=&gt;{[&#x27;#10152E&#x27;,&#x27;#284CB6&#x27;,&#x27;#9861DD&#x27;].forEach((v,i)=&gt;{$(&#x27;c&#x27;+(i+1)).value=v;$(&#x27;p&#x27;+(i+1)).value=v;$(&#x27;c&#x27;+(i+1)).removeAttribute(&#x27;aria-invalid&#x27;)});render()};$(&#x27;variant&#x27;).onclick=()=&gt;{seed=(Math.random()*4294967295)&gt;&gt;&gt;0;render()};$(&#x27;size&#x27;).oninput=()=&gt;render();$(&#x27;lang&#x27;).onchange=language;$(&#x27;download&#x27;).onclick=()=&gt;{if(!img)return;out.toBlob(blob=&gt;{if(!blob)return;const u=URL.createObjectURL(blob),a=document.createElement(&#x27;a&#x27;);a.href=u;a.download=($(&#x27;name&#x27;).value.normalize(&#x27;NFD&#x27;).replace(\/[\\u0300-\\u036f]\/g,&#x27;&#x27;).toLowerCase().replace(\/[^a-z0-9]+\/g,&#x27;-&#x27;).replace(\/^-|-$\/g,&#x27;&#x27;).slice(0,70)||&#x27;software&#x27;)+&#x27;-interface&#x27;+($(&#x27;export&#x27;).value===&#x27;image\/png&#x27;?&#x27;.png&#x27;:&#x27;.jpg&#x27;);a.click();setTimeout(()=&gt;URL.revokeObjectURL(u),30000)},$(&#x27;export&#x27;).value,.95)};language();})();\n&lt;\/script&gt;&lt;\/html&gt;\n&lt;script&gt;(()=&gt;{let last=0;function notify(){const h=Math.ceil(document.body.getBoundingClientRect().height+32);if(h!==last){last=h;parent.postMessage({type:&#x27;hubiify-interface-height&#x27;,height:h},&#x27;*&#x27;)}}new ResizeObserver(notify).observe(document.documentElement);window.addEventListener(&#x27;load&#x27;,notify);notify()})();&lt;\/script&gt;&lt;script&gt;window.addEventListener(&#x27;message&#x27;,event=&gt;{if(event.source!==parent||!event.data||event.data.type!==&#x27;hubiify-interface-language&#x27;)return;const lang=event.data.language===&#x27;fr&#x27;?&#x27;fr&#x27;:&#x27;en&#x27;,select=document.getElementById(&#x27;lang&#x27;);if(select&amp;&amp;select.value!==lang){select.value=lang;select.dispatchEvent(new Event(&#x27;change&#x27;))}});&lt;\/script&gt;\"><\/iframe>\n<script>\n(()=>{const frame=document.getElementById('hubiify-interface-tool-frame');if(!frame)return;\nfunction syncLanguage(){const language=\/^\\\/fr(?:\\\/|$)\/i.test(location.pathname)||document.documentElement.lang.toLowerCase().startsWith('fr')?'fr':'en';frame.contentWindow.postMessage({type:'hubiify-interface-language',language},'*')}\nframe.addEventListener('load',syncLanguage);\nnew MutationObserver(syncLanguage).observe(document.documentElement,{attributes:true,attributeFilter:['lang']});\nwindow.addEventListener('message',event=>{if(event.source!==frame.contentWindow||!event.data||event.data.type!=='hubiify-interface-height')return;const height=Number(event.data.height);if(Number.isFinite(height)&&height>=100&&height<=12000)frame.style.height=(height+8)+'px';syncLanguage()});\nsyncLanguage();})();\n<\/script>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-2934","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/hubiify.com\/en\/wp-json\/wp\/v2\/pages\/2934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hubiify.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/hubiify.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/hubiify.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hubiify.com\/en\/wp-json\/wp\/v2\/comments?post=2934"}],"version-history":[{"count":13,"href":"https:\/\/hubiify.com\/en\/wp-json\/wp\/v2\/pages\/2934\/revisions"}],"predecessor-version":[{"id":2958,"href":"https:\/\/hubiify.com\/en\/wp-json\/wp\/v2\/pages\/2934\/revisions\/2958"}],"wp:attachment":[{"href":"https:\/\/hubiify.com\/en\/wp-json\/wp\/v2\/media?parent=2934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}