removed log.xml (txt remain) (#22); updated README (#24); achor ZapBase (#23)

This commit is contained in:
Fabian de Boer 2026-07-19 21:46:08 +02:00
commit 9196bf07a7
5 changed files with 8 additions and 10 deletions

View file

@ -112,10 +112,8 @@ class ImgTools {
$mimeType = $imgInfo['mime'];
//find gif
if ($mimeType == "image/gif") {
$imagetype = 'png';
//full image name
$Dot = '.';
$newFilename = "$filename$Dot$imagetype";
// Replace .gif extension with .png
$newFilename = preg_replace('/\.gif$/i', '.png', $filename);
//convert
$img = new Imagick($filename);