[Gambas-user] R: Read image from stdin

Gregor Burck gregor at ...2441...
Fri Oct 26 15:27:36 CEST 2012


Hi,

thank you this nearly what I want.

But is this possible without the long way over the file:

 Dim bild As Image
 Dim content As String

 Form1.Show
 Shell "zint --notext --directpng -b 3 -d 4600295071" To content

 File.Save(User.Home & "/path_of_new_file1.png", content)
 bild = image.Load(User.Home & "/path_of_new_file1.png")
 Form1.DrawingArea1.Cached = True
 Draw.Begin(Form1.DrawingArea1)
 Draw.Image(bild, 0, 0, Form1.DrawingArea1.Width, Form1.DrawingArea1.Height)

Something like:
Shell "zint --notext --directpng -b 3 -d 4600295071" To bild

Or convert the String to Image,...

Bye

Gregor
--







More information about the User mailing list