Cannot resolve symbol 'TextLayer'
Hello, I'm using Gradle and want to make a Grails application. I've used the compile "com.cloudinary:cloudinary:1.0.14" to integrate the functions of cloudinary to my project. Now in my Controller.groovy i can use Java-like Syntax and I'm using the "import com.cloudinary.*". Everything works just fine (I get the URLs of pics, I can upload, etc.), except that it doesn't recognize the TextLayer:

Does someone know this problem?
-
Hi Mike,
I see that you've also raised this directly via a support ticket, but I'll share the response from my colleague Eyal in this thread as well.
Did the
TextLayer()syntax use to work for you before?
In general, our Java SDK's syntax for adding text overlay involves first defining a text style, and then using it in the following format -new Transformation().overlay("text:<style>:Test").gravity("south")
More information can be found here.Can you please try the syntax described above and let me know if it works for you?
0 -
Hello Aleksandar
Now I understand. No, it didn't work before, as it is my first project with cloudinary. I tried with uploading a custom text overlay and using it, and now it works.
Thx really much.
0
Post is closed for comments.
Comments
2 comments