imgdb::JpegMpBaseLoader::ComputeImageSize Member Function

Syntax

static std::size_t ComputeImageSize(
     int nWidth,
     int nHeight,
     nn::jpeg::CTR::PixelFormat eFormat
);

Parameters

Name Description
in nWidth Width of the image (in pixels).
in nHeight Height of the image (in pixels).
in eFormat The pixel format of the image.

Return Values

The image size (in bytes).

Description

Determines the image size.


CONFIDENTIAL