gd lua fix
parent
f85f063046
commit
8ae2c9472c
|
@ -8,7 +8,9 @@ function gd:new(width, height,quality,color)
|
||||||
obj.quality = quality or 50
|
obj.quality = quality or 50
|
||||||
obj.gd = nil
|
obj.gd = nil
|
||||||
obj.defFont = {}
|
obj.defFont = {}
|
||||||
obj.background = color or obj:getColorFromArray(color)
|
obj.background = color or images.gdRandColor()
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
function obj:getSize()
|
function obj:getSize()
|
||||||
return obj.width,obj.height
|
return obj.width,obj.height
|
||||||
|
|
|
@ -328,10 +328,10 @@ local function checkEd25519rsa ()
|
||||||
ed25519rsa.freeaKey(rsa)
|
ed25519rsa.freeaKey(rsa)
|
||||||
ed25519rsa.freeaKey(rsa_)
|
ed25519rsa.freeaKey(rsa_)
|
||||||
end
|
end
|
||||||
--checkEd25519rsa ()
|
checkEd25519rsa ()
|
||||||
--GMPTEST()
|
GMPTEST()
|
||||||
--CryptocoinsTest()
|
CryptocoinsTest()
|
||||||
--checkGD(120,120,100,color)
|
EncDecTest()
|
||||||
--EncDecTest()
|
checkGD(120,120,100,color)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue