VintaSoft Imaging .NET SDK 12.5: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing.AspNetCore.ApiControllers Namespace / VintasoftImageProcessingApiController Class / Binarize(BinarizeRequestParams) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    Binarize(BinarizeRequestParams) Method (VintasoftImageProcessingApiController)
    In This Topic
    Converts an image to black-and-white image.
    Syntax
    'Declaration
    
    <HttpPostAttribute("HttpMethods = System.Collections.Generic.List`1string", "Template = null", "Order = 0", "Name = null")>
    Public Overridable Function Binarize( _
    ByVal requestParams
    Request, to the server, which contains information about image and image processing command.
    As Vintasoft.Imaging.ImageProcessing.Web.Services.BinarizeRequestParams _
    ) As Vintasoft.Shared.Web.WebImageInfoResponseParams
    [HttpPost("HttpMethods = System.Collections.Generic.List`1string", "Template = null", "Order = 0", "Name = null")]
    public virtual Vintasoft.Shared.Web.WebImageInfoResponseParams Binarize(
    Vintasoft.Imaging.ImageProcessing.Web.Services.BinarizeRequestParams requestParams
    )
    [HttpPost("HttpMethods = System.Collections.Generic.List`1string", "Template = null", "Order = 0", "Name = null")]
    public: virtual Vintasoft.Shared.Web.WebImageInfoResponseParams* Binarize(
    Vintasoft.Imaging.ImageProcessing.Web.Services.BinarizeRequestParams* requestParams
    )
    [HttpPost("HttpMethods = System.Collections.Generic.List`1string", "Template = null", "Order = 0", "Name = null")]
    public:
    virtual Vintasoft.Shared.Web.WebImageInfoResponseParams^ Binarize(
    Vintasoft.Imaging.ImageProcessing.Web.Services.BinarizeRequestParams^ requestParams
    )

    Parameters

    requestParams
    Request, to the server, which contains information about image and image processing command.

    Return Value

    Response, from server, which contains image processing results.
    Exceptions
    ExceptionDescription
    Thrown if command parameters are not correct.
    Requirements

    Target Platforms: .NET 8; .NET 7, .NET 6

    See Also