ImageGear for .NET
ToyCamera Method




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

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

Reference

ImGearEffects Class
ImGearEffects Members

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback