How chopols/emoticon works
이 저장소는 브라우저에서 이모티콘 스프라이트 시트를 분할해 ZIP으로 내보내는 한국어 Next.js 도구입니다. 사용자는 PNG/JPG를 선택하고, 그리드와 셀 순서를 설정한 뒤 분할 결과를 미리 보고 ZIP을 다운로드합니다. 이미지 로딩, 캔버스 분할 및 ZIP 생성은 클라이언트에서 수행됩니다. README는 기본 Next.js 안내만 제공하므로 제품 기능은 발췌한 컴포넌트와 구현으로 확인했습니다.
Main entry points: ImageSplitter.tsx 분할 작업 조정 · page.tsx 홈 화면 · UploadZone.tsx 이미지 업로드 · GridSelector.tsx 그리드 설정
Components 10
Connections 13
- 사용자 → 홈 화면: 열기
app/page.tsx - 홈 화면 → 분할 작업 조정: 렌더링
app/page.tsx - 분할 작업 조정 → 이미지 업로드: 렌더링
components/ImageSplitter.tsx - 분할 작업 조정 → 그리드 설정: 렌더링
components/ImageSplitter.tsx - 분할 작업 조정 → 결과 미리보기: 렌더링
components/ImageSplitter.tsx - 이미지 업로드 → 분할 작업 조정: 파일 전달
components/ImageSplitter.tsx - 분할 작업 조정 → 이미지 로딩: 이미지 로드
components/ImageSplitter.tsx - 그리드 설정 → 분할 작업 조정: 설정 전달
components/ImageSplitter.tsx - 분할 작업 조정 → 셀 분할·PNG 변환: 분할 호출
components/ImageSplitter.tsx - 셀 분할·PNG 변환 → 분할 작업 조정: 결과 반환
components/ImageSplitter.tsx - 분할 작업 조정 → 결과 미리보기: 결과 전달
components/ImageSplitter.tsx - 분할 작업 조정 → ZIP 다운로드: ZIP 생성 호출
components/ImageSplitter.tsx - ZIP 다운로드 → 다운로드 파일: 파일 저장
lib/splitImage.ts