Method Image.Image()->change_color()
- Method change_color
change_color(objectinttor,inttog,inttob)
change_color(objectintfromr,intfromg,intfromb,inttor,inttog,inttob)- Description
-
Changes one color (exact match) to another. If non-exact-match is preferred, check distancesq and paste_alpha_color.
- Parameter
tor - Parameter
tog - Parameter
tob -
destination color and next current color
- Parameter
fromr - Parameter
fromg - Parameter
fromb -
source color, default is current color
- Returns
-
a new (the destination) image object