Captcha icon indicating copy to clipboard operation
Captcha copied to clipboard

long generation pictures

Open visavi opened this issue 9 years ago • 4 comments

I noticed that in some operating systems, for example windose 7, the generation of images takes a long time and even on centos with a version of php 5.6 image is generated 0.4 sec, is it possible to somehow speed this I did profiling and noticed multiple function call floor and ceil k-9m8oufnrfzgxbre9qmknvn7pcyiboj3qvoruycdg0

visavi avatar Jun 15 '15 12:06 visavi

up. ..

wfxiaolong avatar Nov 20 '15 11:11 wfxiaolong

i got the same problem, with setInterpolation(false) speed up a lot

setInterpolation($interpolate), enable or disable the interpolation (enabled by default), disabling it will be quicker but the images will look uglier

may help you :)

sinute avatar Nov 24 '15 08:11 sinute

Disabling distortion also helps

Gregwar avatar Nov 24 '15 09:11 Gregwar

it is too slow Thinkphp's captcha lib is better than this

luoziluojun avatar Sep 08 '16 08:09 luoziluojun