画像ライブラリーはクラス化、TGA対応の追加

This commit is contained in:
2025-12-31 10:37:53 +09:00
parent 9a5d5db5f3
commit 105cbdec7d
11 changed files with 384 additions and 213 deletions

View File

@@ -127,6 +127,7 @@ function uuid(): string {
}
function kys(mixed $arg): void {
if (!DEBUG_MODE) return;
if (gettype($arg) == 'boolean') $arg = $arg === true ? 'true' : 'false';
if (gettype($arg) == 'array' || gettype($arg) == 'object') {
foreach ($arg as $a) { if (gettype($a) == 'boolean') $a = $a === true ? 'true' : 'false'; }
@@ -140,6 +141,7 @@ function kys(mixed $arg): void {
}
function ffs(): void {
if (!DEBUG_MODE) return;
echo '<style>html { color: #fcfcfc; background-color: #232023; } body { margin: 0; }</style>';
echo '<header style="padding: 10px 0; display: flex; justify-content: space-evenly; background-color: #b61729; margin-bottom: 20px; position: sticky; top: 0;"><div><b>F</b>OR</div> <div><b>F</b>UCKS</div> <div><b>S</b>AKE</div></header>';