VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing.AspNetCore.ApiControllers Namespace / VintasoftImageProcessingApiController Class / GetImageColorDepth(GetImageColorDepthRequestParams) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    GetImageColorDepth(GetImageColorDepthRequestParams) Method (VintasoftImageProcessingApiController)
    In This Topic
    Calculates the real color depth of an image.
    Syntax
    'Declaration
    
    <HttpPostAttribute("HttpMethods = System.Collections.Generic.List`1string", "Template = null", "Order = 0", "Name = null")>
    Public Overridable Function GetImageColorDepth( _
    ByVal requestParams
    Request, to the server, which contains information about image and image processing command.
    As Vintasoft.Imaging.ImageProcessing.Web.Services.GetImageColorDepthRequestParams _
    ) As Vintasoft.Imaging.ImageProcessing.Web.Services.GetImageColorDepthResponseParams
    [HttpPost("HttpMethods = System.Collections.Generic.List`1string", "Template = null", "Order = 0", "Name = null")]
    public virtual Vintasoft.Imaging.ImageProcessing.Web.Services.GetImageColorDepthResponseParams GetImageColorDepth(
    Vintasoft.Imaging.ImageProcessing.Web.Services.GetImageColorDepthRequestParams requestParams
    )
    [HttpPost("HttpMethods = System.Collections.Generic.List`1string", "Template = null", "Order = 0", "Name = null")]
    public: virtual Vintasoft.Imaging.ImageProcessing.Web.Services.GetImageColorDepthResponseParams* GetImageColorDepth(
    Vintasoft.Imaging.ImageProcessing.Web.Services.GetImageColorDepthRequestParams* requestParams
    )
    [HttpPost("HttpMethods = System.Collections.Generic.List`1string", "Template = null", "Order = 0", "Name = null")]
    public:
    virtual Vintasoft.Imaging.ImageProcessing.Web.Services.GetImageColorDepthResponseParams^ GetImageColorDepth(
    Vintasoft.Imaging.ImageProcessing.Web.Services.GetImageColorDepthRequestParams^ 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: .NET9; .NET 8; .NET 7, .NET 6

    See Also