1080p layout fixes: responsive location sizing, dynamic entity limits, compass cleanup
This commit is contained in:
@@ -54,8 +54,15 @@ for category in items locations npcs interactables characters placeholder static
|
||||
rm "$tmp"
|
||||
else
|
||||
# Standard conversion for other categories
|
||||
# If locations or interactables, crop to 16:9
|
||||
tmp="/tmp/${base}_clean.png"
|
||||
if [[ "$category" == "locations" || "$category" == "interactables" ]]; then
|
||||
convert "$img" -resize "16:9" "$tmp"
|
||||
else
|
||||
convert "$img" "$tmp"
|
||||
fi
|
||||
echo " ➜ Converting: $filename"
|
||||
cwebp "$img" -q 85 -o "$out_file" >/dev/null
|
||||
cwebp "$tmp" -q 85 -o "$out_file" >/dev/null
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user