본문 바로가기

seong_hye, the developer

검색하기
seong_hye, the developer
프로필사진 seong_hye

  • My P_Life (120)
    • JAVA (3)
    • 알고리즘 코드 (3)
    • IOS (56)
      • SwiftUI (25)
      • UIKit (13)
      • Error (7)
    • Infomation (6)
      • Firebase (1)
      • Git (1)
    • Daily Life (3)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/09   »
일 월 화 수 목 금 토
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
  • 글또
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록CIColorControls (1)

seong_hye, the developer

SwiftUI) 이미지 채도, 명도 조절해보기

📘 이미지 명도와 채도 조절 🔹 주요 필터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.
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바