source: git/lib/icons/xpm2png @ b4f28e0

line_contentsstereotravis-osx 1.2.17-amended
Last change on this file since b4f28e0 was b4f28e0, checked in by Olly Betts <olly@…>, 5 years ago

lib/icons/Makefile.am,lib/icons/xpm2png,src/mainfrm.cc: Fix display
of icons for toolbar and notebook under WXMSW.

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