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

SDL_Game_CPP git · main

SDL game in C++

sdl game c++ · first commit 2026-03-24 · last commit 2026-03-24 (8 months ago) · synced 1 hour ago · upstream: codeberg.org/Studying_at_HsNR/SDL_Game_CPP

C++ 99.3%
git clone https://git.christianimmanuel.de/sdl-graphics/SDL_Game_CPP.gitwget https://git.christianimmanuel.de/sdl-graphics/SDL_Game_CPP/archive/SDL_Game_CPP.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"