help-gift
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-GIFT] gift exits when connecting via php-interface (haven't tr


From: Wolfgang Müller
Subject: Re: [help-GIFT] gift exits when connecting via php-interface (haven't tried charmer yet)
Date: Sun, 17 Mar 2002 19:47:44 +0100

OK this is the interesting part in the gift-add-collection.pl script.
You should be able to find it using a text editor. It's line 364 unless I am 
wrong:

 print("Converting $lFullName to $lTemp\n");
      die "Pre feature extraction convert call failed: $! \n"
        if system("convert" ,
                  "-geometry",
                  "256x256!",
                  $lFullName,
                  $lTemp);
      print("Extracting features from $lTemp\n");

If you want to know more exactly what happens, insert after 
the 

 print("Converting $lFullName to $lTemp\n");

line, the line 


print join(":",("convert" ,
                         "-geometry",
                         "256x256!",
                         $lFullName,
                         $lTemp)),"\n");

this is untested, but it should work. It should print out the convert call, 
with each parameter, as well as the call separated by a ":" instead of a 
space. Now you should see what convert call is made when adding a collection. 
If this does not show you the way to the solution, please don't hesitate to 
ask again.

Cheers,
Wolfgang



reply via email to

[Prev in Thread] Current Thread [Next in Thread]