<< More Tutorials
How to read Exif data in json format from an image in PHP using rethumb?
To read Exif data in json format from an image in PHP use the following code:
<?php
$response = file_get_contents("http://api.rethumb.com/v1/exif/all/http://images.rethumb.com/image_exif_1.jpg");
$json = json_decode($response);
print_r($json);
?>
Start using this example now
Use the following commands to get started:
$ git clone https://github.com/rethumb/rethumb-php-examples.git
$ cd rethumb-php-examples
$ php read-exif-data-in-json.php
More examples using PHP
How to use rethumb in PHP?
How to resize an image by width in PHP using rethumb?
How to resize an image by height in PHP using rethumb?
How to resize an image by width and height in PHP using rethumb?
How to create a square thumbnail from an image in PHP using rethumb?
How to read Exif data in json format from an image in PHP using rethumb?
How to make an image responsive in PHP using rethumb?
How to read GPS coordinates from an image in PHP using rethumb?
How to convert an image to JPG, GIF, PNG, TIF or WebP in PHP using rethumb?
How to resize an image to cover any dimensions in PHP using rethumb?