source: git/src/png2winicon @ 93a7c46

RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-datawalls-data-hanging-as-warning
Last change on this file since 93a7c46 was 79ee183, checked in by <nobody>, 22 years ago

This commit was manufactured by cvs2svn to create branch 'survex-1_1'.

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

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