214 subscribers
Player FM 앱으로 오프라인으로 전환하세요!
Creating a background gradient from an image
Manage episode 455183390 series 1635850
Ryan talks to Sam about reproducing iOS's new image background treatment for his Open Graph Preview tool, opengraph.ing. They talk about different approaches for generating gradients from images, including finding the vibrant color of an image, luminosity-weighted averages, k-means clustering, and more.
Timestamps:
- 0:00 - Intro
- 3:07 - Apple's new OG image gradient
- 10:06 - Luminosity-weighted average
- 14:22 - Finding the vibrant color of an image
- 21:41 - Contrast ratios on favicons
- 32:21 - K-means clustering
- 41:25 - Refactoring UI tip about rotating the hue
Links:
201 에피소드
Manage episode 455183390 series 1635850
Ryan talks to Sam about reproducing iOS's new image background treatment for his Open Graph Preview tool, opengraph.ing. They talk about different approaches for generating gradients from images, including finding the vibrant color of an image, luminosity-weighted averages, k-means clustering, and more.
Timestamps:
- 0:00 - Intro
- 3:07 - Apple's new OG image gradient
- 10:06 - Luminosity-weighted average
- 14:22 - Finding the vibrant color of an image
- 21:41 - Contrast ratios on favicons
- 32:21 - K-means clustering
- 41:25 - Refactoring UI tip about rotating the hue
Links:
201 에피소드
모든 에피소드
×플레이어 FM에 오신것을 환영합니다!
플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.