PHP code example of jmoati / image-exiftool
1. Go to this page and download the library: Download jmoati/image-exiftool library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jmoati / image-exiftool example snippets
use Image\ExifTool\App\Application;
use Image\ExifTool\ExifTool;
$data = Application::json(['-g', '-fast', 'photo.heic']); // the `exiftool -j -g` structure
$et = new ExifTool(); // or the Image::ExifTool API
$info = $et->ImageInfo('photo.heic');