You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 31, 2018. It is now read-only.
I'm trying the following code and getting an error that image does not have method string. Can someone tell me what the proper way of doing this? Thanks!
var image = gd.create(125, 125);
var color = image.colorAllocate(0, 0, 255);
image.string(1, 5, 5, 'A Simple Text String', color);
This is the error I'm getting:
image.string(1, 5, 5, 'A Simple Text String', color);
^
TypeError: Object [object Object] has no method 'string'