Hey,

Have you tried

system (convert -quality 40 image.jpg resampled_image.jpg);

This might not be your best option, but its worth a shot.

-Cheers.

Tux wrote:

> 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..
>
> all im trying to do is run the shell command:
>
> convert -quality 40 image.jpg resampled_image.jpg
>
> and basically im getting perl to loop through a directory and resample
> any image over a certain size...
>
> the loop works fine i just dont know how to run the 'convert.. etc etc'
> from perl..
>
> any help GREATLY appreciated..
>
> Jo


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to