Vergleich inc/functions_image.php - 1.6.6 - 1.6.13

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: functions_image.php 5622 2011-09-28 09:24:00Z PirataNervo $

 * $Id$

 */

/**

 */

/**

Zeile 33Zeile 33
	$imgtype = $imgdesc[2];
$imgattr = $imgdesc[3];
$imgbits = $imgdesc['bits'];

	$imgtype = $imgdesc[2];
$imgattr = $imgdesc[3];
$imgbits = $imgdesc['bits'];

	$imgchan = $imdesc['channels'];

	$imgchan = $imgdesc['channels'];

	
if($imgwidth == 0 || $imgheight == 0)
{

	
if($imgwidth == 0 || $imgheight == 0)
{

Zeile 96Zeile 96
			// Save Alpha...
imagesavealpha($thumbim, true);
}

			// Save Alpha...
imagesavealpha($thumbim, true);
}

		elseif($imgtype == 2)

		elseif($imgtype == 1)

		{
// Transparent GIF?
$trans_color = imagecolortransparent($im);

		{
// Transparent GIF?
$trans_color = imagecolortransparent($im);

Zeile 204Zeile 204
			switch($matches[2])
{
case "k":

			switch($matches[2])
{
case "k":

					$memory_limit = (($memory_limit+$thumbnail_memory) / 1024)."K";

					$memory_limit = ceil((($memory_limit+$thumbnail_memory) / 1024))."K";

					break;
case "m":

					break;
case "m":

					$memory_limit = (($memory_limit+$thumbnail_memory) / 1048576)."M";

					$memory_limit = ceil((($memory_limit+$thumbnail_memory) / 1048576))."M";

					break;
case "g":

					break;
case "g":

					$memory_limit = (($memory_limit+$thumbnail_memory) / 1073741824)."G";

					$memory_limit = ceil((($memory_limit+$thumbnail_memory) / 1073741824))."G";

			}
}


			}
}