vecino Well-Known Member Licensed User Longtime User Jan 20, 2014 #1 Hello, is it possible to create a "bmp" image from a text? Example: Code: Copy dim txt as string = "Hello world" dim img as bitmap img = txt2bmp (txt) And get something like this: Thanks and regards.
Hello, is it possible to create a "bmp" image from a text? Example: Code: Copy dim txt as string = "Hello world" dim img as bitmap img = txt2bmp (txt) And get something like this: Thanks and regards.
namnach Member Licensed User Longtime User Jan 20, 2014 #2 hi i think you can make a simple screendump and cut pixel to your favorite format. then you can copy / paste or save / load it. You can make a sub / function for this. if you need a "txt2bmb" function.. i think you can improvission by a Edit.text Simple make Hardcopy a retangle over this with rectangle and edge stripes sufficient..cut and save this to bmp.. or other.. this i think you can make as a modul for more works in other projects.. regards you can make a small panel and with DrawBitmap work..and copy.. Last edited: Jan 20, 2014 Upvote 0
hi i think you can make a simple screendump and cut pixel to your favorite format. then you can copy / paste or save / load it. You can make a sub / function for this. if you need a "txt2bmb" function.. i think you can improvission by a Edit.text Simple make Hardcopy a retangle over this with rectangle and edge stripes sufficient..cut and save this to bmp.. or other.. this i think you can make as a modul for more works in other projects.. regards you can make a small panel and with DrawBitmap work..and copy..
Erel B4X founder Staff member Licensed User Longtime User Jan 20, 2014 #3 You can create a mutable bitmap and then use Canvas.DrawText to draw on this bitmap. Upvote 0
vecino Well-Known Member Licensed User Longtime User Jan 20, 2014 #4 Erel said: You can create a mutable bitmap and then use Canvas.DrawText to draw on this bitmap. Click to expand... Hi, thanks, what is a "mutable bitmap"? Upvote 0
Erel said: You can create a mutable bitmap and then use Canvas.DrawText to draw on this bitmap. Click to expand... Hi, thanks, what is a "mutable bitmap"?