note 60631 deleted from function.getimagesize by betz

From: Date: Thu, 12 Jan 2006 19:05:33 +0000
Subject: note 60631 deleted from function.getimagesize by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-101649@lists.php.net to get a copy of this message
Note Submitter: brett at silcon dot com ---- Just posted an algorithm to do assured image fitting, but made a couple of cut and paste mistakes on the description. The KEEP_ON_PAGE_WIDTH & KEEP_ON_PAGE_HEIGHT should be: KEEP_ON_PAGE_WIDTH - returns dimensions less than or equal to the page dimensions, not to exceed the page width, but maintains aspect ratio for the height. It is possible the height could exceed the page dimensions, depending on the image. KEEP_ON_PAGE_HEIGHT - returns dimensions less than or equal to the page dimensions, not to exceed the page height, but maintains aspect ratio for the width. It is possible the width could exceed the page dimensions, depending on the image.

« previous php.notes (#101649) next »