메소드 | 설명 | |
---|---|---|
adjust ( |
#### Adjust [-255,255 for each channel]
|
|
alpha ( |
#### Alpha [-100, 100]
|
|
blur ( |
#### Blur ['simple', 'gaussian']
|
|
brighten ( |
#### Brighten [-100, 100]
|
|
contrast ( |
#### Constrast [-100, 100]
|
|
expose ( |
#### Expose [-100, 100]
|
|
fill ( |
#### Fill [No Range]
|
|
gamma ( |
#### Gamma [-100, 100]
|
|
invert ( |
#### Invert
|
|
noise ( |
#### Noise [0 - 100]
|
|
posterize ( |
#### Posterize [1, 255]
|
|
saturate ( |
#### Saturate [-100, 100]
|
|
sepia ( |
#### Sepia
|
|
sharpen ( |
#### Sharpen
|
|
subtract ( |
#### Subtract [No Range]
|
|
vignette ( |
#### Vignette (red,green,blue) of the vignette effect to apply
|
메소드 | 설명 | |
---|---|---|
approx_distance ( int dx, int dy ) : int | ||
contrastc ( float f, float c ) : float | ||
convolve ( |
||
curves ( |
||
dist ( int x1, int y1, int x2, int y2 ) : int |
public adjust ( |
||
image | ||
pr | float | |
pg | float | |
pb | float | |
pa | float | |
리턴 |
public brighten ( |
||
image | ||
p | float | |
리턴 |
public contrast ( |
||
image | ||
p | float | |
리턴 |
public fill ( |
||
image | ||
r | int | |
g | int | |
b | int | |
리턴 |
public posterize ( |
||
image | ||
p | float | |
리턴 |
public saturate ( |
||
image | ||
p | float | |
리턴 |
public vignette ( |
||
image | ||
r | int | |
g | int | |
b | int | |
리턴 |