/*
* Copyright (c) 2024 ETH Zürich, IT Services
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
namespace SafeExamBrowser.Settings.Proctoring
{
///
/// Defines all possible image quantization algorithms for the screen proctoring.
///
public enum ImageQuantization
{
///
/// Reduces an image to a black and white image with 1 bit per pixel.
///
BlackAndWhite1bpp,
///
/// Reduces an image to a colored image with 8 bits per pixel (256 colors).
///
Color8bpp,
///
/// Reduces an image to a colored image with 16 bits per pixel (5 bits per color and the remaining bit unused, thus 32'768 colors).
///
Color16bpp,
///
/// Reduces an image to a colored image with 24 bits per pixel (16'777'216 colors).
///
Color24bpp,
///
/// Reduces an image to a grayscale image with 2 bits per pixel (4 shades).
///
Grayscale2bpp,
///
/// Reduces an image to a grayscale image with 4 bits per pixel (16 shades).
///
Grayscale4bpp,
///
/// Reduces an image to a grayscale image with 8 bits per pixel (256 shades).
///
Grayscale8bpp
}
}