feat: [선물 포장뷰] - 이미지 투명 배경 저장 기능 추가#63
Merged
Conversation
배경 없이 포장 이미지/QR만 저장하고 싶다! - captureCurrentPage: greenBackground 제거 → Color.clear - UIGraphicsImageRendererFormat.opaque = false 설정 (opaque = true면 투명 영역이 검정색으로 채워진다고 하네요) - saveImageToLibrary: JPEG → PNG 형식으로 변경 - 이미지 중앙 정렬을 위한 offset 조정 (조금 중앙으로 오게 올렸으)
jini-coding
approved these changes
Feb 9, 2026
|
|
||
| // 투명 배경 유지 설정 | ||
| let format = UIGraphicsImageRendererFormat() | ||
| format.opaque = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 PR 내용
선물 포장 완료 화면에서 이미지 저장 시, 배경 없이 포장 이미지/QR 카드만 저장되도록 변경
Before
greenBackground) 포함하여 저장After
📱 스크린샷 (UI 변경 시)
🔗 관련 이슈
✅ 체크리스트