Nimbin[12]?SDL & Graphics / mapcreator / scripts/sprites/image_fix_scale_down_and_add_transparent.sh

mapcreator git · master

SDL3 2.5D game and engine using assets, with map editor

sdl3 c++ game engine map-editor cmake · first commit 2025-10-31 · last commit 2026-09-07 (1 month ago) · synced 3 days ago · upstream: git.ide3.de/hsnr/sdl-spieleentwicklung/map_creator

C++ 99.3%
git clone https://git.christianimmanuel.de/sdl-graphics/mapcreator.gitwget https://git.christianimmanuel.de/sdl-graphics/mapcreator/archive/mapcreator.tar.gz
scripts/sprites/image_fix_scale_down_and_add_transparent.sh 292 B · 11 lines raw
#!/bin/sh

in="../Pixel_Crawler/Environment/Structures/Stations/Workbench/Workbench.png"
out="../Pixel_Crawler/Environment/Structures/Stations/Workbench/Workbench_scaled.png"

convert "$in" \
    -resize 186x340 \
    -background none \
    -gravity center \
    -extent 192x352 \
    "$out"