The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Received: from ns.ATComputing.nl (ns.ATComputing.nl [195.108.229.25])
	by atcmpg.ATComputing.nl (8.9.0/8.9.0) with ESMTP id WAA04105
	for <markov@ATComputing.nl>; Sat, 1 Apr 2000 22:42:15 +0200 (MET DST)
Received: (from nobody@localhost)
	by ns.ATComputing.nl (8.8.8/8.8.8) id WAA01429
	for <markov@ATComputing.nl>; Sat, 1 Apr 2000 22:42:14 +0200
Received: from art.atg.com(205.181.94.1) by ns.ATComputing.nl via smap (V2.1)
	id xma001427; Sat, 1 Apr 00 22:42:05 +0200
Received: from donkeykong (donkey-kong.atg.com [205.181.107.218])
	by art.atg.com (8.9.1/8.9.1) with SMTP id PAA24854
	for <markov@ATComputing.nl>; Sat, 1 Apr 2000 15:42:29 -0500 (EST)
From: "Carl Knoos" <cknoos@atg.com>
To: "Mark Overmeer" <markov@ATComputing.nl>
Subject: RE: Problem resizing images through perl script
Date: Sat, 1 Apr 2000 15:40:32 -0500
Message-ID: <NDBBJJFDMKFOAIFBEPPJIEOCCBAA.cknoos@atg.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Importance: Normal
In-Reply-To: <20000331170117.B2095@atcmpg.ATComputing.nl>
Content-Type: text/plain;
	charset="iso-8859-1"
Status: RO
X-Status: A
Content-Length: 1865
Lines: 63

Blindness :)

Now I'm on to the next problem though...

when I try to execute the line from the script,
my webservers error log contains this:

ld.so.1: /usr/local/bin/mogrify: fatal: libttf.so.2: open failed: No such
file or directory

I'm seriously starting to get ticked now... hehe :)

I've asked the company that I rent space from to install
PerlMagick on the box, hopefully I won't have all these
problems if they do.

Thanks for your help! :)

/Carl


-----Original Message-----
From: owner-magick@wizards.dupont.com
[mailto:owner-magick@wizards.dupont.com]On Behalf Of Mark Overmeer
Sent: Friday, March 31, 2000 10:01 AM
To: Carl Knoos
Cc: magick@wizards.dupont.com
Subject: Re: Problem resizing images through perl script


* 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

***********************************************************************
To remove yourself from this mailing list, send mail to:
	majordomo@wizards.dupont.com

Include the following command in the body of your message:
	unsubscribe magick
***********************************************************************