#19186734 썸네일 생성시 필요한 메모리를 2배수로 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8129 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-02-25 09:15:33 +00:00
parent 08a66e45bb
commit 8cd14c9e6c

View file

@ -430,7 +430,7 @@
{
if(!function_exists('memory_get_usage')) return true;
$K64 = 65536;
$TWEAKFACTOR = 1.5;
$TWEAKFACTOR = 2.0;
$channels = $imageInfo['channels'];
if(!$channels) $channels = 6; //for png
$memoryNeeded = round( ($imageInfo[0] * $imageInfo[1] * $imageInfo['bits'] * $channels / 8 + $K64 ) * $TWEAKFACTOR );