Chuyển sang chế độ ngoại tuyến với ứng dụng 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 tập
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 tập
All episodes
×Chào mừng bạn đến với Player FM!
Player FM đang quét trang web để tìm các podcast chất lượng cao cho bạn thưởng thức ngay bây giờ. Đây là ứng dụng podcast tốt nhất và hoạt động trên Android, iPhone và web. Đăng ký để đồng bộ các theo dõi trên tất cả thiết bị.