ExifStaticInterface Class Reference

#include <gfx_image_exif.h>

Detailed Description

@MAXON_ANNOTATION{nullimpl=true,dependencies=false}

Static Public Member Functions

static MAXON_METHOD Result< ExifRef > OpenFromMemory (const Block< const Char > &exifChunk)
 
static MAXON_METHOD Result< ExifRef > OpenJpgFromUrl (const Url &fileName)
 

Private Member Functions

 MAXON_INTERFACE_NONVIRTUAL (ExifStaticInterface, MAXON_REFERENCE_NONE, "net.maxon.image.interface.exifstatic")
 

Member Function Documentation

◆ MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( ExifStaticInterface  ,
MAXON_REFERENCE_NONE  ,
"net.maxon.image.interface.exifstatic"   
)
private

◆ OpenFromMemory()

static MAXON_METHOD Result<ExifRef> OpenFromMemory ( const Block< const Char > &  exifChunk)
static

Reads the EXIF data from a memory block.

Parameters
[in]exifChunkEXIF data from an image file (e.g. jpg).
Returns
A valid ExifRef if the operation was successful.

◆ OpenJpgFromUrl()

static MAXON_METHOD Result<ExifRef> OpenJpgFromUrl ( const Url fileName)
static

Reads the EXIF data from a JPG file.

Parameters
[in]fileNameFile name of the file to read.
Returns
A valid ExifRef if the operation was successful.