GithubHelp home page GithubHelp logo

beauty's Introduction

一键美肤功能--beauty

首先 ( ̄▽ ̄)* 我们来分析下功能--拆解步骤就是

  1. 复制图层

  2. 图层模式滤色

  3. 高斯模糊

  4. 透明度降至75%

  5. 调整图片饱和度

关于这里的公式可以搜Photoshop图层混合模式计算公式大全 里面可以查到各种算法

(づ ̄ 3 ̄)づ最后是关于饱和度的实现啦

  • 首先要把rgb转为hsv --->o(╯□╰)o 因为人家只搜到rgb转hsv的转换方法啦

  • 然后捏调整饱和度我调了一米米 大家可以根据需要来改数值

  • 最后再转为rgb就好了喵~o( =∩ω∩= )m

beauty's People

Contributors

kikyomiao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.