diff --git a/presentations/barobill-migration-report.cjs b/presentations/barobill-migration-report.cjs index 45c25e3..5f6f4a4 100644 --- a/presentations/barobill-migration-report.cjs +++ b/presentations/barobill-migration-report.cjs @@ -1,8 +1,15 @@ const path = require('path'); +const fs = require('fs'); module.paths.unshift(path.join(require('os').homedir(), '.claude/skills/pptx-skill/scripts/node_modules')); const PptxGenJS = require('pptxgenjs'); +// BI 로고를 base64로 변환 +const biLogoPath = '/home/aweso/sam/docs/assets/bi/sam_bi_white.png'; +const biLogoBase64 = fs.existsSync(biLogoPath) + ? 'image/png;base64,' + fs.readFileSync(biLogoPath).toString('base64') + : null; + async function main() { const pres = new PptxGenJS(); pres.defineLayout({ name: 'CUSTOM_16x9', width: 10, height: 5.625 }); @@ -67,7 +74,9 @@ async function main() { slide1.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.06, fill: { color: C.blue } }); // BI 로고 - slide1.addImage({ path: '/home/aweso/sam/docs/assets/bi/sam_bi_white.png', x: 0.7, y: 0.5, w: 1.2, h: 0.5 }); + if (biLogoBase64) { + slide1.addImage({ data: biLogoBase64, x: 0.7, y: 0.5, w: 1.2, h: 1.2 }); + } // 제목 영역 slide1.addText('바로빌 서비스 이관 완료 보고', { diff --git a/presentations/barobill-migration-report.pptx b/presentations/barobill-migration-report.pptx index 24223fa..be0bc6b 100644 Binary files a/presentations/barobill-migration-report.pptx and b/presentations/barobill-migration-report.pptx differ