So, I have this image:

I would like to be able to add text to the image. The text should wrap with the image itself(3d sort of stuff here).
I am trying to think of how I can make this happen.
theories I've been working on:
1) make 5 images, left, leftone, text, rightone, right , the text image will repeat in the center, one for each letter. (did not work came out with images being too short next to images too high).
2) make a bunch of slices thick enough for 1 letter. then fill each slice with a letter, angled to the right proportion. then combine again. This came out much better, but certain letters took up less space then others, and made the text look bad.
I'm having a hard time thinking of other ways of doing it.
I also need to be able to make multiple images with different text, this is so I can use javascript to generate a 360 view and as the angle changes, so does the text that's actually displayed.
anyone know of way to do this with imagemagick?