Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 99472
BY: Adriana Mikolaskova (mikolaskova)
DATE: 2012-11-04 16:05
SUBJECT: Display Text as Image

 

Hello,

I have a String, which I want to display as a bitmap image. What is the best way to do this?

I tried f.e. this (see below), but the image displayed did not contain the whole Text I stored in the variable myText. What can I do to get the whole text displayed in an image? Or is there another, better approach to do this?

Best Regards

Adriana

img = Image.read("caption:"+myText) do
self.size = "2000"
self.height=1000
self.pointsize = 20
self.font = "Tahoma"


end

img[0].display


Thread View

Thread Author Date
Display Text as ImageAdriana Mikolaskova2012-11-04 16:05

Post a followup to this message