fuel/fuel/core/classes/image.php
public static function resize($width, $height, $keepar = true, $pad = false)
	{
		return static::instance()->resize($width, $height, $keepar, $pad);
	}
public static function resize($width, $height, $keepar = true, $pad = false)
	{
		return static::instance()->resize($width, $height, $keepar, $pad);
	}
public static function resize ( $ width , $ height , $ keepar = true , $ pad = false ) { return static :: instance ( ) -> resize ( $ width , $ height , $ keepar , $ pad ) ; }
Resizes the image. If the width or height is null, it will resize retaining the original aspect ratio.

@param   integer  $width   The new width of the image.
@param   integer  $height  The new height of the image.
@param   boolean  $keepar  Defaults to true. If false, allows resizing without keeping AR.
@param   boolean  $pad     If set to true and $keepar is true, it will pad the image with the configured bgcolor
@return  Image_Driver
Resizes the image . If the width or height is null it will resize retaining the original aspect ratio .