Merge branch 'master' of github.com:jcupitt/libvips

This commit is contained in:
John Cupitt 2012-11-13 18:10:12 +00:00
commit 40fd51d165
4 changed files with 16 additions and 13 deletions

View File

@ -40,7 +40,7 @@ Then for a debug build:
# Dependencies # Dependencies
libvips has to have gettext, glib-2.x and libxml-2.0. The build system needs libvips has to have gettext, glib-2.x and libxml-2.0. The build system needs
sh, pkg-config and gnu make. sh, pkg-config, swig, gtk-doc-tools, automake, gobject-introspection and gnu make.
# Optional dependencies # Optional dependencies

View File

@ -12,14 +12,9 @@
VIPSHOME=${VIPSHOME-@prefix@} VIPSHOME=${VIPSHOME-@prefix@}
name=`basename $0` name=`basename $0`
left=$1
top=$2
width=$3
height=$4
shift 4
# check args # check args
if [ $# -lt 1 ]; then if [ $# -lt 5 ]; then
echo "usage: $name left top width height image1 image2 ..." echo "usage: $name left top width height image1 image2 ..."
echo echo
echo "$name writes a new set of images called crop_image1, " echo "$name writes a new set of images called crop_image1, "
@ -28,6 +23,12 @@ if [ $# -lt 1 ]; then
exit 1 exit 1
fi fi
left=$1
top=$2
width=$3
height=$4
shift 4
# convert each argument # convert each argument
for i in $*; do for i in $*; do
dir=`dirname $i` dir=`dirname $i`

View File

@ -12,11 +12,9 @@
VIPSHOME=${VIPSHOME-@prefix@} VIPSHOME=${VIPSHOME-@prefix@}
name=`basename $0` name=`basename $0`
type=$1
shift
# check args # check args
if [ $# -lt 1 ]; then if [ $# -lt 2 ]; then
echo "usage: $name <new image type> image1 image2 ..." echo "usage: $name <new image type> image1 image2 ..."
echo echo
echo "$name uses VIPS to convert a group of image files of" echo "$name uses VIPS to convert a group of image files of"
@ -27,6 +25,9 @@ if [ $# -lt 1 ]; then
exit 1 exit 1
fi fi
type=$1
shift
# convert each argument # convert each argument
for i in $*; do for i in $*; do
# drop the suffix on the filename # drop the suffix on the filename

View File

@ -14,11 +14,9 @@ VIPSHOME=${VIPSHOME-@prefix@}
# get name we were run as # get name we were run as
name=`basename $0` name=`basename $0`
rec=$1
shift
# check args # check args
if [ $# -lt 1 ]; then if [ $# -lt 2 ]; then
echo "usage: $name matrix image1 image2 ..." echo "usage: $name matrix image1 image2 ..."
echo "writes rsc_image1, rsc_image2, ..." echo "writes rsc_image1, rsc_image2, ..."
echo echo
@ -28,6 +26,9 @@ if [ $# -lt 1 ]; then
exit 1 exit 1
fi fi
rec=$1
shift
# transform each argument # transform each argument
for i in $*; do for i in $*; do
echo "Transforming $i to rsc_$i ..." echo "Transforming $i to rsc_$i ..."