mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#19186734 썸네일 생성시 필요한 메모리를 2배수로 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8129 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
08a66e45bb
commit
8cd14c9e6c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue