~led/sm-jacket-to-bg

Convert song jacket to BG image for StepMania/Project OutFox simfiles.
Initial commit

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~led/sm-jacket-to-bg
read/write
git@git.sr.ht:~led/sm-jacket-to-bg

You can also use your local clone with git send-email.

#SM Jacket to Background

Convert a song jacket to a generic background image for use in StepMania/Project OutFox simfile projects. The algorithm used is based on this Zenius -I- vanisher.com forum post.

#Installation

To install, simply copy the two .scm scripts into your GIMP scripts directory (detailed instructions here).

#Usage

The scripts can be called from either the GIMP GUI or from the command line.

#GUI

In the GUI, the option is currently located at the bottom of the Image menu. Selecting it will give you the choice to change the blur radius and brightness values, but the default values should be fine for most users.

#Terminal

For automated batch processing, the following command can be run so that all images matching PATTERN in the current directory will be converted.

gimp -i -b '(batch-sm-jacket-to-bg "PATTERN")'

For example, to convert all PNG images:

gimp -i -b '(batch-sm-jacket-to-bg "*.png")'

The output file names adhere to the following rules:

  • If the base name of the input file (without the extension) ends in jacket, then jacket is replaced by bg.
  • Otherwise, -bg is appended to the base name.
  • All output images are in PNG format (regardless of input format).

All images generated will overwrite any existing files, so be careful!

#License

The .scm scripts are licensed under GPL-3.0-or-later, while this README.md is licensed under CC-BY-SA-4.0.

Do not follow this link