Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- self
- IOS
- PushNotification
- Switch
- Git
- Animation
- segue
- escaping
- apns
- uikit
- NotificationCenter
- SWIFTUI
- http
- class
- SWIFT
- 고차함수
- Refresh
- struct
- Observer
- list
- viewlifecycle
- singleton
- calendar
- mvvm
- error
- ScrollView
- 화면전환
- array
- CoreImage
- 글또
Archives
- Today
- Total
목록CIColorControls (1)
seong_hye, the developer

📘 이미지 명도와 채도 조절 🔹 주요 필터CIColorControls이미지의 색상 속성을 조절할 수 있는 가장 기본적이고 유용한 필터kCIInputBrightnessKey: 명도 조절 ( -1.0 (어두움) ~ 1.0 (밝음), 기본값: 0.0 )kCIInputSaturationKey: 채도 조절 ( 0.0 (흑백) ~ 2.0 (더 진한 색감), 기본값: 1.0)kCIInputContrastKey: 대비 조절🔹 예시 코드 - SwiftUIimport CoreImageimport CoreImage.CIFilterBuiltinsstruct ContextView: View { // 원본 이미지 로드 @State private var originalImage = UIImage(named: "ex..
IOS/SwiftUI
2025. 8. 5.