Escaping qoutes while annotating
Posted: 2006-06-29T05:00:28-07:00
Hi,
I am trying to annotate text over an image.
Th text is:
Let's meet
But it's not getting annotated properly even after escaping.
I am doing:
-annotate 0x0+0+0 'Let\'s Meet'
This works :
-annotate 0x0+0+0 "Let\'s Meet"
But mine is a program in Php where user can enter text and using convert I annotate the text on the image. So user can enter single qoutes or double qoutes, I need a way so that the qoutes are escaped perfectly. Is there a solution ?
The IM version I am using is 6.2.7.
Regards,
Abhishek
I am trying to annotate text over an image.
Th text is:
Let's meet
But it's not getting annotated properly even after escaping.
I am doing:
-annotate 0x0+0+0 'Let\'s Meet'
This works :
-annotate 0x0+0+0 "Let\'s Meet"
But mine is a program in Php where user can enter text and using convert I annotate the text on the image. So user can enter single qoutes or double qoutes, I need a way so that the qoutes are escaped perfectly. Is there a solution ?
The IM version I am using is 6.2.7.
Regards,
Abhishek