VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging Namespace / VintasoftImage Class / GetImageDataSize(PixelFormat,Int32,Int32) Method
Syntax Requirements SeeAlso
In This Topic
GetImageDataSize(PixelFormat,Int32,Int32) Method (VintasoftImage)
In This Topic
Returns the size of the image data, in bytes.
Syntax
'Declaration

Public Shared Function GetImageDataSize( _
ByVal pixelFormat
The pixel format.
As PixelFormat, _
ByVal width
The width, in pixels.
As System.Int32, _
ByVal height
The height, in pixels.
As System.Int32 _
) As Long
public static long GetImageDataSize(
PixelFormat pixelFormat,
System.Int32 width,
System.Int32 height
)

Parameters

pixelFormat
The pixel format.
width
The width, in pixels.
height
The height, in pixels.

Return Value

The size of the image data, in bytes.
Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also