Image::iptc
Reads IPTC meta data from the current image
2.9M Downloads / Month
Open Source MIT License
2.9M Downloads / Month
Open Source MIT License
public Intervention\Image\Image iptc([string $key])
Read IPTC meta data from current image.
Optionally index key to retrieve only particular value. By default all data available will be parsed.
Associative array of all meta data values available or mixed data for particular value. If no meta data can be found, method will return null
.
// read all existing data into an array
$data = Image::make('public/foo.jpg')->iptc();
// read only 'Copyright'
$copyright = Image::make('public/foo.jpg')->iptc('Copyright');