source: git/lib/icons/xpm2winicon @ a7d4233

RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-data
Last change on this file since a7d4233 was 63c2fe8, checked in by Olly Betts <olly@…>, 9 years ago
  • .gitignore,lib/icons/,src/aven.rc,src/mainfrm.cc: Rather than loading

all the toolbar and notebook icons from PNG files on disk, compile
them into the aven binary. On most platforms, as XPMs; on MSW as
.ico files via a generated .rc file.

  • Property mode set to 100755
File size: 205 bytes
Line 
1#!/bin/sh
2set -e
3t=.tmp.$$
4xpmtoppm -alphaout="$t.pbm" "$1" > "$t.pnm"
5pnmcomp -alpha="$t.pbm" "$t.pnm" "$t.pbm" "$t.2.pnm"
6ppmtowinicon -andppms "$t.2.pnm" "$t.pbm" > "$2"
7rm "$t.pnm" "$t.pbm" "$t.2.pnm"
Note: See TracBrowser for help on using the repository browser.