libopenraw  0.3.7
Public Member Functions | Public Attributes | List of all members
OpenRaw::Internals::CIFF::ImageSpec Class Reference

ImageSpec struct from CIFF. More...

#include <ciffcontainer.hpp>

Public Member Functions

bool readFrom (off_t offset, CIFFContainer *container)
 
int32_t exifOrientation () const
 

Public Attributes

uint32_t imageWidth
 
uint32_t imageHeight
 
uint32_t pixelAspectRatio
 
int32_t rotationAngle
 
uint32_t componentBitDepth
 
uint32_t colorBitDepth
 
uint32_t colorBW
 

Detailed Description

ImageSpec struct from CIFF.

Definition at line 116 of file ciffcontainer.hpp.

Member Function Documentation

◆ exifOrientation()

int32_t OpenRaw::Internals::CIFF::ImageSpec::exifOrientation ( ) const

Return the EXIF orientation (EXIF value).

Definition at line 80 of file ciffcontainer.cpp.

◆ readFrom()

bool OpenRaw::Internals::CIFF::ImageSpec::readFrom ( off_t  offset,
CIFFContainer container 
)

read the struct from container

Parameters
offsetthe offset to read from, relative to the begining of the container.
containerthe container to read from.

Definition at line 36 of file ciffcontainer.cpp.

References OpenRaw::Internals::RawContainer::readInt32(), and OpenRaw::Internals::RawContainer::readUInt32().

Member Data Documentation

◆ colorBitDepth

uint32_t OpenRaw::Internals::CIFF::ImageSpec::colorBitDepth

bit depth for colour.

Definition at line 142 of file ciffcontainer.hpp.

◆ colorBW

uint32_t OpenRaw::Internals::CIFF::ImageSpec::colorBW

colour or B&W. See CIFF spec.

Definition at line 143 of file ciffcontainer.hpp.

◆ componentBitDepth

uint32_t OpenRaw::Internals::CIFF::ImageSpec::componentBitDepth

bit depth per component.

Definition at line 141 of file ciffcontainer.hpp.

◆ imageHeight

uint32_t OpenRaw::Internals::CIFF::ImageSpec::imageHeight

Height (vertical) in pixel.

Definition at line 138 of file ciffcontainer.hpp.

Referenced by OpenRaw::Internals::CRWFile::_getRawData().

◆ imageWidth

uint32_t OpenRaw::Internals::CIFF::ImageSpec::imageWidth

Width (horizontal) in pixel.

Definition at line 137 of file ciffcontainer.hpp.

Referenced by OpenRaw::Internals::CRWFile::_getRawData().

◆ pixelAspectRatio

uint32_t OpenRaw::Internals::CIFF::ImageSpec::pixelAspectRatio

Pixel aspect ratio.

Definition at line 139 of file ciffcontainer.hpp.

◆ rotationAngle

int32_t OpenRaw::Internals::CIFF::ImageSpec::rotationAngle

Rotation angle in degrees.

Definition at line 140 of file ciffcontainer.hpp.


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