Jo --

...and then tux said...
% 
% hey all, sorry if im asking a silly or stupid question, but i just CANT
% seem to find anything on google/in books on how to do this, its slowly
% make me go bald..

You need the camel book, then.


% 
% all im trying to do is run the shell command: 
% 
% convert -quality 40 image.jpg resampled_image.jpg

Better yet, you should grab the PerlMagick module and just run the
commands from within your perl script and forget the system call (or
backticks or, IIRC, qx quoting).


% 
% and basically im getting perl to loop through a directory and resample
% any image over a certain size... 

Sounds easy enough.


% 
% the loop works fine i just dont know how to run the 'convert.. etc etc'
% from perl..

So don't :-)  PerlMagick is good stuff.


% 
% any help GREATLY appreciated..

HTH


% 
% Jo


HAND

:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg29863/pgp00000.pgp
Description: PGP signature

Reply via email to