LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

adding text in a circle to a picture

I need to add text to a picture but I need the text to curve with a circle.  Like added a label to a CD or DVD.  I want it to curve around and follow the contor of a circle.  Is there a way to do this with Labview?  I have been using the picture functions to create the image.

0 Kudos
Message 1 of 5
(3,331 Views)

You will probably need draw the text one character at a time in the picture indicator, setting the rotation and position of the letter based on where it needs to fit around the circle.

 

You can probably use the text rectangle function to determine the size of the character.  Visualize slicing the letters and fitting the bottoms of the letters around a circle.

0 Kudos
Message 2 of 5
(3,300 Views)

I dont see any rotation option on the draw text function.

0 Kudos
Message 3 of 5
(3,243 Views)

I think you'll have to take the piece of text as a picture, get into its pixel data, an use array functions to rotate it.  Then turn merge the modified pixed data back into the picture.

0 Kudos
Message 4 of 5
(3,240 Views)

I was already starting to ook into this.  I am having some trouble with the image data though.  I am using the picture to pixmap function and looking at the image data -> image.  I am having difficulty translating this to basically a boolean array of the pixels.  The data there doesn't seem to coorespond to that like I thought it would.

0 Kudos
Message 5 of 5
(3,231 Views)