This commit is contained in:
2026-01-19 15:40:45 +03:30
parent 0636f4dfbf
commit c0c612e1d8
342 changed files with 1562 additions and 4 deletions

View File

@@ -0,0 +1 @@
const g=(n,r)=>{const t=new Image;t.src=URL.createObjectURL(n);let c=1500,o=1500;t.onload=()=>{const e=document.createElement("canvas");e.width=c,e.height=o,e.getContext("2d").drawImage(t,0,0,c,o),e.toBlob(s=>{const a=new FileReader;a.onloadend=()=>{r(a.result)},a.readAsDataURL(s)},n.type,.8)}};export{g as r};