This method makes the image look as if it was taken by a toy camera.
Syntax
'Declaration
Public Shared Sub ToyCamera( _
ByVal As ImGearRasterPage, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Double, _
ByVal As Integer, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double _
)
'Usage
Dim page As ImGearRasterPage
Dim vignetteRadius As Integer
Dim vignetteWidth As Integer
Dim vignetteDarkness As Double
Dim vignetteBlur As Integer
Dim noiseAmount As Double
Dim saturationAmount As Double
Dim fisheyeAmount As Double
ImGearEffects.ToyCamera(page, vignetteRadius, vignetteWidth, vignetteDarkness, vignetteBlur, noiseAmount, saturationAmount, fisheyeAmount)
public static void ToyCamera(
ImGearRasterPage ,
int ,
int ,
double ,
int ,
double ,
double ,
double
)
public: static void ToyCamera(
ImGearRasterPage* ,
int ,
int ,
double ,
int ,
double ,
double ,
double
)
public:
static void ToyCamera(
ImGearRasterPage^ ,
int ,
int ,
double ,
int ,
double ,
double ,
double
)
Parameters
- page
- Page to apply effect to.
- vignetteRadius
- Radius of vignette to add around the image.
- vignetteWidth
- Width of vignette to add around the image.
- vignetteDarkness
- Amount by which to darken the vignette.
- vignetteBlur
- Amount by which to blur the vignette.
- noiseAmount
- Amount of noise to add to the image.
- saturationAmount
- Amount to saturate the image by.
- fisheyeAmount
- Amount of 'fish eye' effect, to imitate geometric distortions caused by a cheap lens.
See Also