src/PelJpeg.php
public function getExif()
    {
        $sections_count = count($this->sections);
        for ($i = 0; $i < $sections_count; $i ++) {
            $section = $this->getSection(PelJpegMarker::APP1, $i);
            if ($section instanceof PelExif) {
                return $section;
            }
        }
        return null;
    }
public function getExif()
    {
        $sections_count = count($this->sections);
        for ($i = 0; $i < $sections_count; $i ++) {
            $section = $this->getSection(PelJpegMarker::APP1, $i);
            if ($section instanceof PelExif) {
                return $section;
            }
        }
        return null;
    }
public function getExif ( ) { $ sections_count = count ( $ this -> sections ) ; for ( $ i = 0 ; $ i < $ sections_count ; $ i ++ ) { $ section = $ this -> getSection ( PelJpegMarker :: APP1 , $ i ) ; if ( $ section instanceof PelExif ) { return $ section ; } } return null ; }
Get first valid APP1 Exif section data.

Use this to get the @{link PelExif Exif data} stored.

@return PelExif the Exif data found or null if the image has no
Exif data.
Get first valid APP1 Exif section data .