From 359ce3208e66b731211bd9d6c4d1ba44e6c65530 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Mon, 12 Sep 2011 14:55:22 +0100 Subject: [PATCH] cleanup file in git which should be blocked, also TODO note --- TODO | 6 ++++++ tools/shrink_width | 18 ------------------ 2 files changed, 6 insertions(+), 18 deletions(-) delete mode 100644 tools/shrink_width diff --git a/TODO b/TODO index a63c5a09..425430a1 100644 --- a/TODO +++ b/TODO @@ -3,6 +3,12 @@ +- add vips_init_argv() which processes argc/argv for you? handy for tiny + progs, perhaps + + + + - im_copy() would be useful diff --git a/tools/shrink_width b/tools/shrink_width deleted file mode 100644 index 953ce14c..00000000 --- a/tools/shrink_width +++ /dev/null @@ -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 " - 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