Re: Rotating image using imagerotate creates large black area on image

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

 



* 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux