source: git/src/png2winicon @ 76cf7f1

RELEASE/1.2debug-cidebug-ci-sanitiserswalls-data
Last change on this file since 76cf7f1 was 142cb9a, checked in by Olly Betts <olly@…>, 20 years ago

Fix reversed mask (the tools we use must have changed behaviour)

git-svn-id: file:///home/survex-svn/survex/branches/survex-1_1@2773 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100755
File size: 247 bytes
Line 
1#!/bin/sh
2t=/tmp/png2winicon.$$
3pngtopnm "$1" > $t.pnm
4#pngtopnm -alpha "$1" | pgmtopbm -threshold | convert -negate pbm:- pbm:$t.pbm
5pngtopnm -alpha "$1" | pgmtopbm -threshold > $t.pbm
6ppmtowinicon -andppms $t.pnm $t.pbm > "$2"
7rm $t.pnm $t.pbm
Note: See TracBrowser for help on using the repository browser.