Updated core, image formats

This commit is contained in:
markseu 2024-04-21 11:11:05 +02:00
parent 123ec7dfdc
commit 707e8da6f5
3 changed files with 3 additions and 3 deletions

View file

@ -155,7 +155,7 @@ Tag: feature
DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-core
DocumentationLanguage: en, de, sv
Published: 2024-04-20 15:24:55
Published: 2024-04-21 11:10:25
Status: available
system/workers/core.php: core.php, create, update
system/extensions/core.php: coreupdate.txt, update

View file

@ -8,7 +8,7 @@ Tag: feature
DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-core
DocumentationLanguage: en, de, sv
Published: 2024-04-20 15:24:55
Published: 2024-04-21 11:10:25
Status: available
system/workers/core.php: core.php, create, update
system/extensions/core.php: coreupdate.txt, update

View file

@ -2816,7 +2816,7 @@ class YellowToolbox {
($dataMarker>="\xcd" && $dataMarker<="\xcf")) {
$width = (ord($dataBuffer[$pos+7])<<8) + ord($dataBuffer[$pos+8]);
$height = (ord($dataBuffer[$pos+5])<<8) + ord($dataBuffer[$pos+6]);
$type = $fileType;
$type = "jpeg";
break;
}
$length = (ord($dataBuffer[$pos+2])<<8) + ord($dataBuffer[$pos+3]) + 2;