Since you have GD and libjpeg installed now, you can perform 
transformations from the shell and hence, from php through the exec() 
command. Such as ...

exec("djpeg -scale 1/8 test.jpg | cjpeg -outfile test_thumb.jpg");

Here's a link to the man page for djpeg and cjpeg...

http://nodevice.com/sections/ManIndex/man0253.html

You may find better results adjusting these settings.

Be aware that exec() , if used improperly, can be a security hole if 
you use a user supplied variable for your exec argument.

>Hi,
>
>after getting gd to work (thanx folks!) I am having some probs with the
>commands.
>
>The simple resize of a jpeg cant be that hard?!
>
>I have a 600x400 px jpeg and want to make a 80 x 60 out of it.
>
>Do I have to use imagecopyresized? And how. The result looks bad right now.
>
>Thanx,
>
>Andy
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
Jim Musil
---------
Multimedia Programmer
Nettmedia
-------------
212-629-0004
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to