Skip to content

raycleveland/PHP-Photo-Metadata-Reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Synopsis

Photo metadata reader class for PHP that reads the image headers for related metadata.

Code Example

$meta = new PhotoMetadataReader('/path/to/image/file.jpg');

// title of photo in metadata
echo $meta->getTitle(); 

// title of photo in metadata
echo $meta->getDescription(); 

// custom exif array containes the follwing fields: 
// camera_make, camera_model, aperture, exposure, iso, focal_length, flash_fired, flash_value
$custom_exif = $meta->getCustomExif();

Motivation

This project was created to get a more thurough amount of data from photos than the built in PHP components

License

MIT

About

PHP Class to read and extract metadata from photos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages