/smaller

image resizer which creates 1x osu! skin elements from 2x elements

Primary LanguageCMIT LicenseMIT

smaller

A tool that creates <skin element>.png from <skin element>@2x.png for every @2x.png element in an osu! skin, because you definitely want to edit skins without desktop environment.

It supports png and jpg images, output is always png.

Prebuilt binaries can be downloaded here.

Usage

Open the executable, then select skin.ini from skin folder you want to edit. That's it.

CLI

$ ./smaller [-ov] <path to osu! skin>
  • -o to overwrite all files.
  • -v to display more info about each file.

If the skin directory name contains weird symbols, or you have other errors:

cd to it first, and then use .../smaller .:

$ cd <path to osu! skin>
$ <path to smaller executable> .

Building

POSIX

Required only if you wish to have a file dialog:

  • pkg-config
  • gtk+-3.0
$ ./build.sh <auto/gui/nogui> [debug]

Windows (MinGW/Clang)

> ./build.bat <gui/nogui> [debug]

Awesome stb headers source :3c