UBB.Dev
Posted By: Andrew ImageMagick Setup - 02/22/2002 6:59 PM
ok, i am writing a script that control my web site, what i want to be able to do is upload a picture and resize it to a set size, i know ImageMagick does all what i need, but my problem is setting it up.

The way it says to set it up is by installing it to perl in the server, but i don't have access to do that.

Is their a way to make it work like the modules are worked on the ubb where you have it in a folder?

the adderss to ImageMagick is http://www.imagemagick.org/

Any help is appreasted, i know it has something to do with adding something like:

use lib 'Modules/';
use "Modules::Dir::Name";

But i don't have enough knowledge to understand that fully so am not sure how to use that.

Thx
Posted By: Burak Re: ImageMagick Setup - 02/22/2002 8:19 PM
if that module has some *.xs files in it, you cant just copy to a dir and use lib. your site admin must install it...

Else, think that we have a directory named "modules" in our script dir. put the module in it. and call it like;

use lib qw(./module);
use ImageMagick;

etc
Posted By: Andrew Re: ImageMagick Setup - 02/26/2002 5:59 PM
ahh thanks.

Just a question, that didn't work, but is their a module that will resize a picture, (don't want any changing formats or merging pictures features) that can be sorted in a Module folder?

thanks

-Andrew
© UBB.Developers