将色调应用于照片
我的问题是如何将40的橙色色调强度应用到照片上
我试着做了一部分,但在那之后我感到困惑
选择 | 换行 | 行号
- file = pickAFile()
- pic = makePicture(file)
- w = getWidth(pic)
- h = getHeight(pic)
- intensity = requestIntegerInRange("What intensity?",1,99)
- tintColor = pickAColor()
- samplePicture = makeEmptyPicture(1,1)
- samplePixel = getPixel (samplePicture,0,0)
- setColor (samplePixel,tintColor)
- tintRed = getRed(samplePixel)
- #printNow (tintRed)
- tintGreen = getGreen(samplePixel)
- #printNow (tintGreen)
- tintBlue = getBlue(samplePixel)
- #printNow (tintBlue)
- show (pic)
提前THX