[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static Image ToGrayscale(
this Image sender,
GrayscaleLevel grayScaleLevel,
GraphicsQualityContainer quality
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function ToGrayscale (
sender As Image,
grayScaleLevel As GrayscaleLevel,
quality As GraphicsQualityContainer
) As Image
Dim sender As Image
Dim grayScaleLevel As GrayscaleLevel
Dim quality As GraphicsQualityContainer
Dim returnValue As Image
returnValue = sender.ToGrayscale(grayScaleLevel,
quality)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static Image^ ToGrayscale(
Image^ sender,
GrayscaleLevel grayScaleLevel,
GraphicsQualityContainer^ quality
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member ToGrayscale :
sender : Image *
grayScaleLevel : GrayscaleLevel *
quality : GraphicsQualityContainer -> Image
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
Dim quality As New GraphicsQualityContainer
quality.SmoothingMode = SmoothingMode.HighQuality
quality.InterpolationMode = InterpolationMode.HighQualityBicubic
quality.PixelOffsetMode = PixelOffsetMode.HighQuality
Dim img As Image = Bitmap.FromFile("C:\File.png").ToGrayscale(GrayScaleTone.Light, quality)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.