file in git which should be blocked, also TODO note
This commit is contained in:
John Cupitt 2011-09-12 14:55:22 +01:00
parent f9b8e0d88f
commit 359ce3208e
2 changed files with 6 additions and 18 deletions

6
TODO
View File

@ -3,6 +3,12 @@
- add vips_init_argv() which processes argc/argv for you? handy for tiny
progs, perhaps
- im_copy() would be useful

View File

@ -1,18 +0,0 @@
#!/bin/sh
# shrink to a target width
# default prefix
VIPSHOME=${VIPSHOME-/home/john/vips}
name=$0
bname=`basename $0`
if [ $# != 3 ]; then
echo "${bname}: usage: $bname <in> <out> <target width>"
exit 1
fi
inwidth=`$VIPSHOME/bin/vips im_header_int Xsize $1`
factor=`(echo scale=10; echo $inwidth / $3) | bc`
$VIPSHOME/bin/vips im_shrink $1 $2 $factor $factor