Creating images from text not work in nodejs
I'm implementing this functionality with nodejs, followed the example of the documentation but it did not work. What I can do?
https://cloudinary.com/documentation/upload_images#creating_images_from_text
The code.
cloudinary.v2.uploader.text("Sample Name",
{
public_id: "dark_name",
font_family: "Arial",
font_size: 12,
font_color: "black",
background: "#dd3c3c"
}, (error: any, result: any) => {console.log(result)});
My result so far.

-
Hi,
It seems to work as expected when I do not include the type of any in the callback.
cloudinary.uploader.text("Sample Name",
{
public_id: "text-sample-img",
font_family: "Arial",
font_size: 90,
font_color: "black",
background: "#dd3c3c"
}, (error, result) => {console.log(result)});
Can you share the cloud_name to the account? If you do not wish to share your cloud_name in this public forum, please open a support ticket at https://support.cloudinary.com/hc/en-us/requests/new or emailing support@cloudinary.com.0
Post is closed for comments.
Comments
1 comment