mirror of
https://github.com/mosbth/cimage.git
synced 2025-01-17 19:18:15 +01:00
check if extension exif is loaded #36
This commit is contained in:
parent
8523ef5e31
commit
ec3a6f3491
@ -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.
|
||||
|
@ -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>";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user