I think you might be looking for: imagecreatetruecolor http://us3.php.net/manual/en/function.imagecreatetruecolor.php
rather than imagecreatetruesize... Worth a try anyhow. If you continue to have trouble with it, email me offlist and I'll send you my PHP image resize script. - Stephen On Sat, 26 Feb 2005 20:23:10 -0500, steve miller <[EMAIL PROTECTED]> wrote: > I found that the script is stalling at this line: > > $newim = imagecreatetruesize($newwidth, $newheight); > > although this function works fine on this server within another script. > Any idea what could cause this to not work? > > steve > > > On Feb 26, 2005, at 6:25 PM, Sheila Fenelon wrote: > > > Could it be a permission problem with the image directories? > > Any clues in the server's error log? > > > > > > Sheila > > http://www.shefen.com/ > > > > > > steve miller wrote: > >> This is a simple php text file that I have uploaded many times using > >> Adobe GoLive's ftp program, which I am still using. I will try > >> uploading it with another application, but I don't think that's the > >> problem (but I'm willing to try anything!) > >> thanks > >> On Feb 26, 2005, at 5:21 PM, Cyberspace Publishing wrote: > >>> The solution is probably not this simple, but are you > >>> uploading the script in 'ascii mode' or 'binary mode'? > >>> Most scripts should be uploaded only in 'ascii mode'. > >>> > >>> HTH, > >>> Tom Fosson > >>> > >>> At 05:03 PM 2/26/2005 -0500, you wrote: > >>> > >>>> This is one of those problems where I am totally lost as to what to > >>>> do. I have actually spent 6 hours fussing with this. I have a > >>>> script that I have been using on several sites that simply takes an > >>>> uploaded image file (jpg only) and resizes it to several smaller > >>>> sizes for use on the site. It works fine. > >>>> > >>>> I made a copy of it for a new site, and am using it with no > >>>> changes, but the copy will not work! I have tried it on 2 > >>>> webservers with the same results: the image file uploads, but the > >>>> script stalls while doing any of the reductions. I have checked > >>>> permissions, ram allocations, file sizes, everything I can think > >>>> of. Thinking it might be a server setting, I have placed it on the > >>>> same servers that are running the successful copies, and it won't > >>>> work. Makes NO sense. I have deleted it and re-installed > >>>> it...nothing. > >>>> > >>>> Not sure what I am asking, but maybe someone has been through this > >>>> before and can commiserate. > >>>> > >>>> Thanks for listening. > >>>> > >>>> steve > >>> > >>> > > > > > > > > > > ____ â The WDVL Discussion List from WDVL.COM â ____ > > To Join wdvltalk, Send An Email To: > > mailto:[EMAIL PROTECTED] or > > use the web interface > > http://e-newsletters.internet.com/discussionlists.html/ > > Send Your Posts To: [email protected] > > To change subscription settings, add a password or view the web > > interface: > > http://intm-dl.sparklist.com/read/?forum=wdvltalk > > > > ________________ http://www.wdvl.com _______________________ > > > > You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] > > To unsubscribe send a blank email to > > [EMAIL PROTECTED] > > To unsubscribe via postal mail, please contact us at: > > Jupitermedia Corp. > > Attn: Discussion List Management > > 475 Park Avenue South > > New York, NY 10016 > > > > Please include the email address which you have been contacted with. > > > > ____ â The WDVL Discussion List from WDVL.COM â ____ > To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or > use the web interface http://e-newsletters.internet.com/discussionlists.html/ > Send Your Posts To: [email protected] > To change subscription settings, add a password or view the web interface: > http://intm-dl.sparklist.com/read/?forum=wdvltalk > > ________________ http://www.wdvl.com _______________________ > > You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: '' > To unsubscribe send a blank email to [EMAIL PROTECTED] > To unsubscribe via postal mail, please contact us at: > Jupitermedia Corp. > Attn: Discussion List Management > 475 Park Avenue South > New York, NY 10016 > > Please include the email address which you have been contacted with. > ____ The WDVL Discussion List from WDVL.COM ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or use the web interface http://e-newsletters.internet.com/discussionlists.html/ Send Your Posts To: [email protected] To change subscription settings, add a password or view the web interface: http://intm-dl.sparklist.com/read/?forum=wdvltalk ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: '' To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
