Quantcast

transparency on rotated image

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

transparency on rotated image

Leon Davis
Using Gambas v3.9.2 and GTK+3

After I rotate an image "Image.Rotate(0.03)" I get a background I can't get
rid of. Bug or Feature? Thank you for any assistance.

Leon
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: transparency on rotated image

Fabien Bodard-4
can you send a sample project ?

2017-05-04 18:12 GMT+02:00 Leon Davis <[hidden email]>:

> Using Gambas v3.9.2 and GTK+3
>
> After I rotate an image "Image.Rotate(0.03)" I get a background I can't get
> rid of. Bug or Feature? Thank you for any assistance.
>
> Leon
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Fabien Bodard

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: transparency on rotated image

Leon Davis
See attached

On Fri, May 5, 2017 at 1:59 AM, Fabien Bodard <[hidden email]> wrote:

> can you send a sample project ?
>
> 2017-05-04 18:12 GMT+02:00 Leon Davis <[hidden email]>:
> > Using Gambas v3.9.2 and GTK+3
> >
> > After I rotate an image "Image.Rotate(0.03)" I get a background I can't
> get
> > rid of. Bug or Feature? Thank you for any assistance.
> >
> > Leon
> > ------------------------------------------------------------
> ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Gambas-user mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> --
> Fabien Bodard
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user

RotateImage.tar.gz (127K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: transparency on rotated image

Charlie
If you change: -

sImg.drawImage(sImg2) to sImg.PaintImage(sImg2, 0, 0)

and

sImg.DrawImage(sImg2, 50, 50) to sImg.PaintImage(sImg2, 50, 50)

It seems to help, see the help section on PaintImage.

Check out www.gambas.one

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: transparency on rotated image

Leon Davis
This solved my issue. Thank you very much. While I have your eyes. Is there
a way to add text to an image?

On Sat, May 6, 2017 at 8:42 AM, Charlie <[hidden email]> wrote:

> If you change: -
> *sImg.drawImage(sImg2)* to *sImg.PaintImage(sImg2, 0, 0)*
> and
> *sImg.DrawImage(sImg2, 50, 50)* to *sImg.PaintImage(sImg2, 50, 50)*
> It seems to help, see the help section on PaintImage.
> <http://gambas.8142.n7.nabble.com/file/n58914/RotateIssue.png>
>
>
>
> -----
> Check out www.gambas.one
> --
> View this message in context: http://gambas.8142.n7.nabble.
> com/transparency-on-rotated-image-tp58901p58914.html
> Sent from the gambas-user mailing list archive at Nabble.com.
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: transparency on rotated image

Gianluigi
You can take a look here:
http://gambas.8142.n7.nabble.com/How-to-add-subitems-to-a-ListView-td56846.html#a56851

Regards
Gianluigi


2017-05-07 14:35 GMT+02:00 Leon Davis <[hidden email]>:

> This solved my issue. Thank you very much. While I have your eyes. Is there
> a way to add text to an image?
>
> On Sat, May 6, 2017 at 8:42 AM, Charlie <[hidden email]> wrote:
>
> > If you change: -
> > *sImg.drawImage(sImg2)* to *sImg.PaintImage(sImg2, 0, 0)*
> > and
> > *sImg.DrawImage(sImg2, 50, 50)* to *sImg.PaintImage(sImg2, 50, 50)*
> > It seems to help, see the help section on PaintImage.
> > <http://gambas.8142.n7.nabble.com/file/n58914/RotateIssue.png>
> >
> >
> >
> > -----
> > Check out www.gambas.one
> > --
> > View this message in context: http://gambas.8142.n7.nabble.
> > com/transparency-on-rotated-image-tp58901p58914.html
> > Sent from the gambas-user mailing list archive at Nabble.com.
> > ------------------------------------------------------------
> > ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Gambas-user mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: transparency on rotated image

Charlie
In reply to this post by Leon Davis
Leon Davis wrote
While I have your eyes. Is there a way to add text to an image?

Check out the good work done in 'Painting' which is in the Gambas Farm. Look at 'Example17'

Check out www.gambas.one

Loading...