Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More graphics manipulation automation.
- Loading branch information
Showing
19 changed files
with
252 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
*.pyc | ||
coast/ | ||
geography-detail/ | ||
geography/ | ||
labels/ | ||
references/ | ||
snapshots/ | ||
icons/ | ||
archive | ||
coast | ||
geography-detail | ||
geography | ||
labels | ||
references | ||
snapshots | ||
icons | ||
regions.png | ||
index.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
while read input; read output; do | ||
gimp -i -b " | ||
(let* | ||
( | ||
(in-filename "'"'"$input"'"'") | ||
(out-filename "'"'"$output"'"'") | ||
(color "'"'"#ffffff"'"'") | ||
(image (car (gimp-file-load RUN-NONINTERACTIVE in-filename in-filename))) | ||
(drawable (car (gimp-image-get-active-layer image))) | ||
) | ||
(plug-in-colortoalpha RUN-NONINTERACTIVE image drawable color) | ||
(gimp-file-save RUN-NONINTERACTIVE image drawable out-filename out-filename) | ||
(gimp-image-delete image) | ||
(gimp-quit 0) | ||
) | ||
" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Oops, something went wrong.