LoginSignup
5
4

More than 5 years have passed since last update.

swift UIImage(画像)をシルエット化

Posted at

UIImageをシルエット化

// UIImageシルエット化 
silhouetteImage = (UIImage(named:imageName)?.imageWithRenderingMode(UIImageRenderingMode.AlwaysTemplate))!

tintColorでシルエットの色も変更できます。

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4