bouvet
Posts: 24
|
Posted: 05/11/2004, 9:19 AM |
|
Hi,
Has some one already use imagemagick to resize photos directly on line?
I find some php code but have some problems to use them.
Thanks
_________________
Webdesign Hildesheim Hannover
http://www.actidesign.com |
|
|
Dave Heller
|
Posted: 05/11/2004, 11:05 AM |
|
I've been using it on all photo uploads for a year or so... I upload and
rename the file to something like "photo_$id.jpg" to match the data item
record number. I then use the php "system" function to pass the file name
and desired standard size to a perl script (could be done in php too), I
then copy the file to "thumb_$id.jpg" and process it with smaller
dimensions.
http://earthday.leftcoastart.com/html/photo_gallery.php is an example.
There are dozens of interface scripts (C++ / perl and php) to use
imagemagick and it's libraries, the exact details vary with the intent of
the author. Try google, or the examples supplied with the imagemagick
package itself.
The one I wrote is a free-standing perl script, to conform max size. It
reduces only, and sharpens if the reduction factor is greater than 2 to 1.
Clients love it...but beware the 1 or 2 meg upload limit in the generic
PHP.INI file. The newer cameras can produce 4+ meg files. These larger
files are a pain with ADSL/Cable upload speed of around 100k and a hundred
hi-res wedding photos.
Dave Heller
"bouvet" <bouvet@forum.codecharge> wrote in message
news:540a0fd11871c4@news.codecharge.com...
> Hi,
> Has some one already use imagemagick to resize photos directly on line?
> I find some php code but have some problems to use them.
> Thanks
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
Philipppe
|
Posted: 05/12/2004, 6:06 AM |
|
Thank you, but I just experience, that my provider don't support imagemagick.
So I have to try with PHP
Thanks
|
|
|
Philipppe
|
Posted: 05/12/2004, 6:06 AM |
|
Thank you, but I just experience, that my provider don't support imagemagick.
So I have to try with PHP
Thanks
|
|
|
|