简体   繁体   中英

C# Create gradient depending on color image

I'm searching a C# way to create a color gradient depending on a image source. I found nothing on Internet but the goal is to reproduce what Instagram do with stories. For exemple from this: http://imgur.com/a/mWyF6mg To this: http://imgur.com/a/FnKnVWo

Thanks for your help

  1. Resize picture wxh to column 1xh.
  2. Resize column 1xh to background size.
  3. (Gaussian blur)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM