I have also tried that and it still doesn't work. Turns out that since I was using two image rotates, it was causing the image to get those black splotches. This is the application flows. Rotate image to write text 90 CW Write text Rotate image back to original position 90CCW This was causing the black splotches. I fixed the problem by loading the image into photoshop, rotating it 90CW, saving and then only doing the last rotate. It worked great. Very weird problem with imagerotate. -Brent ----- Original Message ----- From: "Matthew Weier O'Phinney" <matthew@xxxxxxxxxx> To: <php-general@xxxxxxxxxxxxx> Sent: Sunday, October 24, 2004 8:15 PM Subject: Re: Rotating image using imagerotate creates large black area on image > * Brent Clements <bclem@xxxxxxxxxxxxxxxxxxxxxxxxxxx>: > > I am working on some images and I am having some problems with image = > > rotate. > > > > I am using imagerotate($im, "-90", 0); but when I display the image, the = > > first 1/4 of the image has a large black splotch from left/top to = > > right/bottom > > It might be because the second argument to imagerotate() is supposed to > be a floating decimal, not a string. Try: > > imagerotate($im, -90, 0); > > and see what happens. > > -- > Matthew Weier O'Phinney | mailto:matthew@xxxxxxxxxx > Webmaster and IT Specialist | http://www.garden.org > National Gardening Association | http://www.kidsgardening.com > 802-863-5251 x156 | http://nationalgardenmonth.org > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php