Codeoptimazions inside captcha calc_ttf_image and ttf_image.