News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Pierre-Alain Joye's Blog:
imagerotate, little confusions in the manual (damned, I cannot say RTFM!)
February 06, 2007 @ 12:02:00

Pierre-Alain Joye is looking to clear up some confusion with his new blog post today surrounding the imagerotate function and some of its options:

imagerotate has special intern functions when the rotation angle is a multiple of 90 degrees, it actually only flips the image. The operation is quite fast as it is a two nest loops with a little copy operation. However it looks like the manual has a little mistake in the function description, which can lead to confusion.

The problem comes from a part mentioning the scaling down of an image to fit into the destination image. With a flip of 90 degrees, though, the resulting image contents will stay the same size as the original - the image only flips, not really rotates.

0 comments voice your opinion now!
imagerotate manual confusion degree flip image imagerotate manual confusion degree flip image


blog comments powered by Disqus

Similar Posts

DevShed: Developing a Captcha Application with an Image Generator Class with PHP 5

The Bakery: Image Resize Helper

DevShed: Defining Some Custom PHP Functions with Yahoo Web Services

Jakob Westhoff's Blog: It's alive - Image_3D live browser rendering

PHP Manual Masterpieces: PHP 2.0: A Review in Retrospect


Community Events





Don't see your event here?
Let us know!


threedevsandamaybe opinion list unittest language podcast refactor series testing interview install developer laravel api introduction symfony2 code community release framework

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework