From 29928887e733f3bc2c2baaf06dafd495a006753b Mon Sep 17 00:00:00 2001 From: Minteck Date: Fri, 3 Mar 2023 07:04:02 +0100 Subject: Updated 18 files and added 10 files (automated) --- includes/assets.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'includes/assets.inc') diff --git a/includes/assets.inc b/includes/assets.inc index b64c821..3f2d652 100644 --- a/includes/assets.inc +++ b/includes/assets.inc @@ -68,12 +68,12 @@ function downloadAssets($system, $path = null) { } else { $url = "../assets/uploads/pt.png"; } - echo(" /heads/$id.webp\n"); - exec("convert -resize 64x64 \"" . $url . "\" ../assets/heads/" . $id . ".webp"); + echo(" /heads/$id.png\n"); + exec("convert \"" . $url . "\" ../assets/heads/" . $id . ".png"); if (file_exists("../assets/ponies/" . $member["id"] . ".png")) { - echo(" /bodies/$id.webp\n"); - exec("convert -resize 128x128 \"" . "../assets/ponies/" . $member["id"] . ".png" . "\" ../assets/bodies/" . $id . ".webp"); + echo(" /bodies/$id.png\n"); + exec("convert \"" . "../assets/ponies/" . $member["id"] . ".png" . "\" ../assets/bodies/" . $id . ".png"); } } } -- cgit