.. index:: 
  !PhotographicAttributes Structure

.. _id3_face_photographic_attributes_struct:

===============================================================================
PhotographicAttributes Structure
===============================================================================

Namespace: :ref:`id3.Face<reference_face>`

.. toctree::
  :hidden:

  equalBrightness<equal_brightness>
  faceDynamicRange<face_dynamic_range>
  flashReflection<flash_reflection>
  naturalSkinColor<natural_skin_color>
  overExposure<over_exposure>
  pixelation<pixelation>
  sharpness<sharpness>
  underExposure<under_exposure>

Definition
----------
.. line-block::
    Represents the photographic attributes of a portrait image.

.. tab-set::

  .. tab-item:: Python
    :sync: Python

    .. code:: Python

      class PhotographicAttributes

  .. tab-item:: Dart
    :sync: Dart

    .. code:: Dart

      class PhotographicAttributes

  .. tab-item:: C#
    :sync: C#

    .. code:: C#

      public partial struct PhotographicAttributes

  .. tab-item:: Java
    :sync: Java

    .. code:: Java

      public class PhotographicAttributes

  .. tab-item:: Swift
    :sync: Swift

    .. code:: Swift

      public typealias PhotographicAttributes = id3FacePhotographicAttributes

  .. tab-item:: C
    :sync: C

    .. code:: C

      typedef struct id3FacePhotographicAttributes


Properties
----------

.. list-table:: 
  :width: 100%
  :widths: 5 5 90
  :header-rows: 1

  * - Name
    - Type
    - Description
  * - :ref:`equalBrightness<id3_face_photographic_attributes_equal_brightness_struct_member>`
    - int
    - Value, from 0 to 100, indicating if one side of the face is ligther than the other side.
  * - :ref:`faceDynamicRange<id3_face_photographic_attributes_face_dynamic_range_struct_member>`
    - int
    - Value, from 0 to 255, indicating the dynamic range of the image in the face region.
  * - :ref:`flashReflection<id3_face_photographic_attributes_flash_reflection_struct_member>`
    - int
    - Value, from 0 to 100, indicating if a flash reflection is present on the face.
  * - :ref:`naturalSkinColor<id3_face_photographic_attributes_natural_skin_color_struct_member>`
    - int
    - Value, from 0 to 100, indicating if the skin looks natural.
  * - :ref:`overExposure<id3_face_photographic_attributes_over_exposure_struct_member>`
    - int
    - Value, from 0 to 100, indicating the ratio of face pixels that are over-exposed.
  * - :ref:`pixelation<id3_face_photographic_attributes_pixelation_struct_member>`
    - int
    - Value, from 0 to 100, indicating if the image is pixelized.
  * - :ref:`sharpness<id3_face_photographic_attributes_sharpness_struct_member>`
    - int
    - Value, from 0 to 100, indicating if the image sharpness is sufficient.
  * - :ref:`underExposure<id3_face_photographic_attributes_under_exposure_struct_member>`
    - int
    - Value, from 0 to 100, indicating the ratio of face pixels that are under-exposed.
