[Gambas-user] Loading Picture/Image from String/Byte[] data

Patrik Karlsson patrik at trixon.se
Sun Jan 7 08:04:44 CET 2018


Hey, It works! :)
Thank you!
Public Sub loadButton_Click()

  PictureBox1.Picture = Picture.FromString(UnBase64(
File.Load("/home/pata/base64.txt")))

  Print Now

End

2018-01-06 17:16 GMT+01:00 Benoît Minisini <g4mba5 at gmail.com>:

> Le 06/01/2018 à 13:36, Patrik Karlsson a écrit :
>
>>
>>
>>     I can add some methods to the Image and/or Picture class for that.
>>
>>     --     Benoît Minisini
>>
>>
>> That would be great! I'll stick to using a temp file until its done.
>>
>>
> Done in commit https://gitlab.com/gambas/gamb
> as/commit/066c25c7aa0adaf2e558d837ab64dc84079cb8c7.
>
> Regards,
>
> --
> Benoît Minisini
>
> --------------------------------------------------
>
> This is the Gambas Mailing List
> https://lists.gambas-basic.org/listinfo/user
>
> Hosted by https://www.hostsharing.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180107/e8d79e3a/attachment.html>


More information about the User mailing list