[Gambas-user] drawing rectangles on a picture.

Charlie Ogier charlie at cogier.com
Sun Oct 18 17:16:23 CEST 2020

Hi K,

Have a look on the Farm for 'ScreenShot' or you can download it from 
here <https://gambas.one/gambasfarm/?id=877&action=search>. This program 
allows you to draw all sorts on an image and save it. You can also 
re-edit it.

Here <https://www.youtube.com/watch?v=0VZjC1pt7qU&feature=youtu.be> is a 
video of what it can do and it's all written in Gambas.


On 18/10/2020 12:56, KKing wrote:
> So I want to load a png, then draw some rectangles on it and resave it.
> Any pointers, after reading and searching I'm just confused by Draw, 
> Paint, DrawingArea, PictureBox etc.
> Also why does
>     PictureBox1.Picture = Picture.Load("/media/user01/Test01.png")
> work but
>   myPicture = New Picture
>   myPicture.Load("/media/user01/Test01.png")
>   PictureBox1.Picture = myPicture
> does not ?
> K.
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201018/5058b7e6/attachment.htm>

More information about the User mailing list