chore: upload parte 2 - assets

This commit is contained in:
2026-06-01 15:36:16 +01:00
parent 9c14a19a87
commit 91b09365a6
37 changed files with 567 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import fs from 'fs';
import path from 'path';
const logoUrl = 'https://hebbkx1anhila5yf.public.blob.vercel-storage.com/Preto_semfundo-QjUexykfB10GjO803zcUlswqR19RBV.png';
const res = await fetch(logoUrl);
const arrayBuffer = await res.arrayBuffer();
const base64 = Buffer.from(arrayBuffer).toString('base64');
const dataUrl = `data:image/png;base64,${base64}`;
console.log(`Base64 length: ${base64.length}`);
console.log('LOGO_START');
console.log(dataUrl);
console.log('LOGO_END');