digiKam
Loading...
Searching...
No Matches
Digikam::DRawInfo Class Reference

#include <drawinfo.h>

Public Types

enum  ImageOrientation {
  ORIENTATION_NONE = 0 , ORIENTATION_180 = 3 , ORIENTATION_Mirror90CCW = 4 , ORIENTATION_90CCW = 5 ,
  ORIENTATION_90CW = 6
}
 

Public Member Functions

 DRawInfo ()
 
 ~DRawInfo ()=default
 

Public Attributes

double altitude = 0.0F
 
float ambientAcceleration = -1000.0F
 
float ambientElevationAngle = -1000.0F
 
float ambientHumidity = -1000.0F
 
float ambientPressure = -1000.0F
 
float ambientTemperature = -1000.0F
 
float ambientWaterDepth = 1000.0F
 
float aperture = -1.0F
 
float baselineExposure = -999.0F
 
unsigned int blackPoint = 0
 
unsigned int blackPointCh [4] = { 0 }
 
float cameraColorMatrix1 [3][4]
 
float cameraColorMatrix2 [3][4]
 
double cameraMult [4] = { 0.0 }
 
float cameraXYZMatrix [4][3]
 
QString colorKeys
 
QDateTime dateTime
 
double daylightMult [3] = { 0.0 }
 
QString description
 
QString DNGVersion
 
float exposureIndex = -1.0F
 
int exposureProgram = -1
 
float exposureTime = -1.0F
 
QString filterPattern
 
QString firmware
 
int flashUsed = -1
 
float focalLength = -1.0F
 
int focalLengthIn35mmFilm = -1
 Valid value is unsigned.
 
QSize fullSize
 
bool hasGpsInfo = false
 true if GPS info are parsed from RAW file.
 
bool hasIccProfile = false
 
QByteArray iccData
 
QString imageID
 
QSize imageSize
 
bool isDecodable = false
 
double latitude = 0.0F
 
unsigned int leftMargin = 0
 
QString lensMake
 
QString lensModel
 
QString lensSerial
 
QString localizedCameraModel
 
double longitude = 0.0F
 
QString make
 
float maxAperture = -1.0F
 Valid value is unsigned.
 
int meteringMode = -1
 
QString model
 
ImageOrientation orientation = ORIENTATION_NONE
 
QString originalRawFileName
 
QSize outputSize
 
QString owner
 
float pixelAspectRatio = 1.0F
 
int rawColors = -1
 
QString rawDataUniqueID
 
int rawImages = -1
 
float sensitivity = -1.0F
 
unsigned int serialNumber = 0
 
QString software
 
QByteArray thumbnail
 
QSize thumbSize
 
unsigned int topMargin = 0
 
QString uniqueCameraModel
 
unsigned int whitePoint = 0
 
QByteArray xmpData
 

Member Enumeration Documentation

◆ ImageOrientation

The RAW image orientation values

Enumerator
ORIENTATION_NONE 
ORIENTATION_180 
ORIENTATION_Mirror90CCW 
ORIENTATION_90CCW 
ORIENTATION_90CW 

Constructor & Destructor Documentation

◆ DRawInfo()

Digikam::DRawInfo::DRawInfo ( )
explicit

Standard constructor

< NOTE: see bug #253911 : [y][x] not [x][y]

References cameraColorMatrix1, cameraColorMatrix2, and cameraXYZMatrix.

◆ ~DRawInfo()

Digikam::DRawInfo::~DRawInfo ( )
default

Standard destructor

Member Data Documentation

◆ altitude

double Digikam::DRawInfo::altitude = 0.0F

◆ ambientAcceleration

float Digikam::DRawInfo::ambientAcceleration = -1000.0F

Directionless camera acceleration in units of mGal, or 10-5 m/s2. -1000 is an invalid acceleration.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ ambientElevationAngle

float Digikam::DRawInfo::ambientElevationAngle = -1000.0F

Camera elevation angle in degrees. -1000 is an invalid angle.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ ambientHumidity

float Digikam::DRawInfo::ambientHumidity = -1000.0F

Ambient relative humidity in percent. -1000 is an invalid humidity.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ ambientPressure

float Digikam::DRawInfo::ambientPressure = -1000.0F

Ambient air pressure in hPa or mbar. -1000 is an invalid pressure.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ ambientTemperature

float Digikam::DRawInfo::ambientTemperature = -1000.0F

Ambient temperature in Celsius degrees. -1000 is an invalid temperature.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ ambientWaterDepth

float Digikam::DRawInfo::ambientWaterDepth = 1000.0F

Depth under water in metres, negative for above water. 1000 is an invalid water depth.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ aperture

float Digikam::DRawInfo::aperture = -1.0F

◆ baselineExposure

float Digikam::DRawInfo::baselineExposure = -999.0F

Exposure compensation to be applied during raw conversion. -999 is an invalid exposure.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ blackPoint

unsigned int Digikam::DRawInfo::blackPoint = 0

◆ blackPointCh

unsigned int Digikam::DRawInfo::blackPointCh[4] = { 0 }

Channel black levels from Raw histogram.

Referenced by Digikam::DNGWriter::Private::createNegative(), and Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ cameraColorMatrix1

float Digikam::DRawInfo::cameraColorMatrix1[3][4]

◆ cameraColorMatrix2

float Digikam::DRawInfo::cameraColorMatrix2[3][4]

◆ cameraMult

double Digikam::DRawInfo::cameraMult[4] = { 0.0 }

Camera multipliers used for White Balance adjustments

Referenced by Digikam::DNGWriter::Private::createNegative(), Digikam::DRawDecoder::Private::fillIndentifyInfo(), and Digikam::operator<<().

◆ cameraXYZMatrix

◆ colorKeys

QString Digikam::DRawInfo::colorKeys

◆ dateTime

QDateTime Digikam::DRawInfo::dateTime

Date & time when the picture has been taken.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo(), and Digikam::DNGWriter::Private::importRaw().

◆ daylightMult

double Digikam::DRawInfo::daylightMult[3] = { 0.0 }

White color balance settings.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo(), and Digikam::operator<<().

◆ description

QString Digikam::DRawInfo::description

The image description of raw image.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ DNGVersion

QString Digikam::DRawInfo::DNGVersion

The DNG version. NOTE: it is only shown with DNG RAW files.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ exposureIndex

float Digikam::DRawInfo::exposureIndex = -1.0F

Exposure Index from the camera. Valid value is unsigned.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ exposureProgram

int Digikam::DRawInfo::exposureProgram = -1

The exposure program used by camera. Valid value is unsigned.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ exposureTime

float Digikam::DRawInfo::exposureTime = -1.0F

1/exposureTime = exposure time in seconds.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo(), and Digikam::operator<<().

◆ filterPattern

QString Digikam::DRawInfo::filterPattern

◆ firmware

QString Digikam::DRawInfo::firmware

The Firmware name or version which create raw image.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ flashUsed

int Digikam::DRawInfo::flashUsed = -1

Describe how flash has been used by camera. Valid value is unsigned.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ focalLength

float Digikam::DRawInfo::focalLength = -1.0F

Focal Length value in mm.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo(), and Digikam::operator<<().

◆ focalLengthIn35mmFilm

int Digikam::DRawInfo::focalLengthIn35mmFilm = -1

Valid value is unsigned.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ fullSize

QSize Digikam::DRawInfo::fullSize

The full RAW image dimensions in pixels.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo(), and Digikam::DNGWriter::Private::importRaw().

◆ hasGpsInfo

bool Digikam::DRawInfo::hasGpsInfo = false

true if GPS info are parsed from RAW file.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ hasIccProfile

bool Digikam::DRawInfo::hasIccProfile = false

True if RAW file include an ICC color profile.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo(), and Digikam::operator<<().

◆ iccData

QByteArray Digikam::DRawInfo::iccData

ICC color profilr container extracted from RAW file, if present.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ imageID

QString Digikam::DRawInfo::imageID

An unique image ID generated by camera.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ imageSize

QSize Digikam::DRawInfo::imageSize

◆ isDecodable

bool Digikam::DRawInfo::isDecodable = false

◆ latitude

double Digikam::DRawInfo::latitude = 0.0F

◆ leftMargin

unsigned int Digikam::DRawInfo::leftMargin = 0

◆ lensMake

QString Digikam::DRawInfo::lensMake

◆ lensModel

QString Digikam::DRawInfo::lensModel

Description of lens properties.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ lensSerial

QString Digikam::DRawInfo::lensSerial

◆ localizedCameraModel

QString Digikam::DRawInfo::localizedCameraModel

Localized name for the camera model that created the raw file

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ longitude

double Digikam::DRawInfo::longitude = 0.0F

◆ make

◆ maxAperture

float Digikam::DRawInfo::maxAperture = -1.0F

Valid value is unsigned.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ meteringMode

int Digikam::DRawInfo::meteringMode = -1

The metering mode used by camera. Valid value is unsigned.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ model

◆ orientation

◆ originalRawFileName

QString Digikam::DRawInfo::originalRawFileName

The original RAW file name.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ outputSize

◆ owner

QString Digikam::DRawInfo::owner

The artist name who have picture owner.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ pixelAspectRatio

float Digikam::DRawInfo::pixelAspectRatio = 1.0F

The pixel Aspect Ratio if != 1.0. NOTE: if == 1.0, libraw CLI tool do not show this value. Default value = 1.0. This can be unavailable (depending of camera model).

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo(), and Digikam::operator<<().

◆ rawColors

◆ rawDataUniqueID

QString Digikam::DRawInfo::rawDataUniqueID

An unique RAW data ID.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ rawImages

int Digikam::DRawInfo::rawImages = -1

The number of RAW images.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo(), and Digikam::operator<<().

◆ sensitivity

float Digikam::DRawInfo::sensitivity = -1.0F

The sensitivity in ISO used by camera to take the picture.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo(), and Digikam::operator<<().

◆ serialNumber

unsigned int Digikam::DRawInfo::serialNumber = 0

Serial number of raw image.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ software

QString Digikam::DRawInfo::software

The software name which process raw image.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ thumbnail

QByteArray Digikam::DRawInfo::thumbnail

Thumbnail image data extracted from raw file.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ thumbSize

QSize Digikam::DRawInfo::thumbSize

The thumb dimensions in pixels.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ topMargin

unsigned int Digikam::DRawInfo::topMargin = 0

◆ uniqueCameraModel

QString Digikam::DRawInfo::uniqueCameraModel

Non-localized name for the camera model that created the raw file

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().

◆ whitePoint

unsigned int Digikam::DRawInfo::whitePoint = 0

◆ xmpData

QByteArray Digikam::DRawInfo::xmpData

Xmp metadata container extracted from RAW file, if present.

Referenced by Digikam::DRawDecoder::Private::fillIndentifyInfo().


The documentation for this class was generated from the following files: