1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-01-18 03:28:16 +01:00

check if extension exif is loaded #36

This commit is contained in:
Mikael Roos 2014-09-01 01:27:45 +02:00
parent 8523ef5e31
commit ec3a6f3491
2 changed files with 4 additions and 0 deletions

View File

@ -133,6 +133,7 @@ Revision history
v0.5.x (latest)
* `webroot/check_system.php` now outputs if extension for exif is loaded.
* Broke API when `initDimensions()` split into two methods, new `initDimensions()` and `loadImageDetails()`.
* Added `autoRotate,`aro` to auto rotate image based on EXIF information.
* Added `bgColor,`bgc` to use as backgroundcolor when needing a filler color, for example rotate 45.

View File

@ -7,6 +7,9 @@ echo 'Running on: ' . $_SERVER['SERVER_SOFTWARE'] . '<br><br>';
$no = extension_loaded('gd') ? null : 'NOT';
echo "Extension gd is $no loaded.<br>";
$no = extension_loaded('exif') ? null : 'NOT';
echo "Extension exif is $no loaded.<br>";
if (!$no) {
echo "<pre>", var_dump(gd_info()), "</pre>";
}