Note: This is an archived post that was originally sent to the Hollywood mailing list on Sat, 31 Jul 2010 17:34:33 +0000
Howdily doodilie???
I was wondering. . . . If you were to get the user to input a string and then place it on top of a picture. . .be there a way to save the picture with the text saved on top so you could view it in an image viewer??
Thanks in advance
Matt Doman Matt Doman www.matthewdoman.blogspot.com
[31 Jul 2010] Saving of picture files
[31 Jul 2010] Re: Saving of picture files
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sat, 31 Jul 2010 18:12:53 -0000
If I understand your question correctly, it is very easy to do what you are asking:
1) Get the string from the user---using StringRequest()
2) Load a picture as a brush---using LoadBrush()
3) Select that brush---using SelectBrush()
4) Add the text string to the image---using TextOut()
5) Save the modified image---using SaveBrush()
If I understand your question correctly, it is very easy to do what you are asking:
1) Get the string from the user---using StringRequest()
2) Load a picture as a brush---using LoadBrush()
3) Select that brush---using SelectBrush()
4) Add the text string to the image---using TextOut()
5) Save the modified image---using SaveBrush()
-
Matt
[01 Aug 2010] Re: Re: Saving of picture files
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 1 Aug 2010 20:32:20 +0000
hello and thank you sir!!!
That does indeed work!
It doesn't seem to accept a variable for the co-ordinates though eg
TextOut(100, 200, data$)
Works as part of the loop you mentioned however
TextOut(ox$, oy$ , data$)
Produces a saved image without any text on.
Any thoughts please???
Thanks in advance
Matt Doman Matt Doman www.matthewdoman.blogspot.com
hello and thank you sir!!!
That does indeed work!
TextOut(100, 200, data$)
Works as part of the loop you mentioned however
TextOut(ox$, oy$ , data$)
Produces a saved image without any text on.
Any thoughts please???
Thanks in advance
Matt Doman Matt Doman www.matthewdoman.blogspot.com
[01 Aug 2010] Re: Saving of picture files
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 01 Aug 2010 21:21:49 -0000
TextOut() should certainly work with varriables for the X, Y values.
Can you post some example code that does not work?
TextOut() should certainly work with varriables for the X, Y values.
Can you post some example code that does not work?
-
Matt
[03 Aug 2010] Re: Re: Saving of picture files
Note: This is an archived post that was originally sent to the Hollywood mailing list on Tue, 3 Aug 2010 22:27:29 +0000
Yo dude!!! Sorry been working loads!! Yep its sorted I. Was being an idiot!!!!!! Ha ha ha
Cheers for the help though-really set me on the path!!!! Matt Doman www.matthewdoman.blogspot.com
Yo dude!!! Sorry been working loads!! Yep its sorted I. Was being an idiot!!!!!! Ha ha ha
Cheers for the help though-really set me on the path!!!! Matt Doman www.matthewdoman.blogspot.com