The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Date: Fri, 31 Mar 2000 17:01:17 +0200
From: Mark Overmeer <markov@ATComputing.nl>
To: Carl Knoos <cknoos@atg.com>
Cc: magick@wizards.dupont.com
Subject: Re: Problem resizing images through perl script
Message-ID: <20000331170117.B2095@atcmpg.ATComputing.nl>
References: <10F4E7B8292FD311B34400A0C978B70532A61B@a254.117.208.207.ded23.interaccess.com> <NDBBJJFDMKFOAIFBEPPJIELLCBAA.cknoos@atg.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre4i
In-Reply-To: <NDBBJJFDMKFOAIFBEPPJIELLCBAA.cknoos@atg.com>; from cknoos@atg.com on Thu, Mar 30, 2000 at 06:27:54PM -0500
Status: RO
Content-Length: 820
Lines: 23

* Carl Knoos (cknoos@atg.com) [000331 01:39]:
> if I run mogrify -geometry 95x95 whatever.jpg
> I get exactly what I want, except when I try
> to do it from Perl...

> 		# resize it.
> 		$result="$mogrifypath/mogrify -geometry 96x96
> $GalleryPath/tn_$ShortFilename";

I assume you try to execute this code: use back-tics:

$result=`$mogrifypath/mogrify -geometry 96x96 $GalleryPath/tn_$ShortFilename`;

or better qx(...)

Is it just a slip of pen here, or just usual programmers-blindness?
-- 
               MarkOv       %-]

------------------------------------------------------------------------
drs Mark A.C.J. Overmeer                           markov@ATComputing.nl
AT Computing, UNIX Training and Consultancy    http://www.ATComputing.nl
http://www.dhp.nl/~markov/                         http://satfoto.dhp.nl