RE: [PEAR-DEV] RFI: Image_Resize

From: Date: Wed, 15 May 2002 14:03:51 +0000
Subject: RE: [PEAR-DEV] RFI: Image_Resize
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6112@lists.php.net to get a copy of this message
I use forward slashes on w2k/IIS and everything works well. ex: $word->Documents->Add("c:/mytemplate.dot"); > I've been able to use forward slashes under windows. This is in all > aspects of php. File opening, writing. in the ini file to > tell it where > files are located, in include statements, etc. > > I'm running under apache, and in my config files, i've used forward > slashes. I'm not sure what the behavior would be under IIS > on windows, but > in my experience so far, doing a platform specific directory > separator is > not necessary. > > -timmyg > > At 06:37 PM 5/14/2002 +0100, Peter Bowyer wrote: > >Hi, > > > >Things are moving... and I will commit to CVS shortly. > > > >Does anyone on this list have experience of NetPBM??? I > started trying to > >do a driver class for it but have run into endless problems. > Fo starters, > >all functionality is in separate tiny programs unlike > ImageMagick, which > >requires lots of exec() calls in the code. What's the > problem you may be > >asking? Well, this requires the use of a temporary file. > No big deal, > >until you try and think about getting it to work on Windows > - and getting > >the / to \ in the commands etc. I believe the File:: class > in PEAR will > >help with the temp file problem, but does anyone have any > tips on getting > >exec() commands to work cross-platform? > > > >Also, does piping work on Windows (eg exec("jpegtopmn|rotate > >-r90|pmntojpeg"))? Looking at the source code for Gallery > >(http://gallery.sf.net) they have used piping throughout to > get netpbm to > >work. Is this necessary or am I missing something? I was hoping to > >construct the command as per ImageMagick, but it appears that is > >impossible. However, I have zero knowledge of NetPBM so if > someone could > >correct me I'd be very grateful. > > > >Thanks, > >Peter. > > > >---oOo--- > >sendcard - The free PHP e-card solution > >http://www.sendcard.org > > > > > >-- > >PEAR Development Mailing List (http://pear.php.net/) > >To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.pear.dev (#6112) next »