# CAMERA_PixelsToSize

## Syntax

  `#include <twl/camera.h>`
  `CAMERASize CAMERA_PixelsToSize( u32 pixels )`

## Arguments

width | Number of pixels (total pixel count)

## Return Values

Returns the camera resolution that corresponds to the specified number of pixels. Returns `CAMERA_SIZE_MAX` if there is no corresponding resolution.

## Description

Returns the `CAMERASize` type resolution that corresponds to the number of pixels specified as an argument.

## Revision History

2007/11/13 Initial version.

CONFIDENTIAL