Sign in to follow this  
Followers 0
Lord Felix

GUICtrlCreateGraphic Question

5 posts in this topic

;) Sorry if this has been asked before, but would anyone know how to make autoit display transparent backgrounds? If getting autoit to display transparent backgrounds is not possible, would there be a way to tell it which colors to display as?

Posted Image

As you can see in this picture, the transparent backgrounds display as awkward colors.


Share this post


Link to post
Share on other sites



I have not had any problems with transparent pics. However, what are you trying to make transparent? PNG? GIF? ICO?

Share this post


Link to post
Share on other sites

I have not had any problems with transparent pics. However, what are you trying to make transparent? PNG? GIF? ICO?

Sorry about that, forgot to mention it. Now to answer your question, I'm using .gif files.


Share this post


Link to post
Share on other sites

As I mentioned before, I have not had any problems with transparent pics (GIFs) in an AutoIt GUI before. However, I have had problems with transparent pics showing the "halo effect" before. This has generally happened when I tried to convert a .jpg, .bmp, etc into a transparent .gif file via Photoshop--although I do not know if other graphics programs have the same problem since Photoshop is all that I use.

Do the transparent .gifs look normal elsewhere (i.e. If you create a quick webpage with the transparent .gifs, do they have the halo)? If they look normal when viewing them elsewhere then I have no idea what the problem could be.

;)

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

As I mentioned before, I have not had any problems with transparent pics (GIFs) in an AutoIt GUI before. However, I have had problems with transparent pics showing the "halo effect" before. This has generally happened when I tried to convert a .jpg, .bmp, etc into a transparent .gif file via Photoshop--although I do not know if other graphics programs have the same problem since Photoshop is all that I use.

Do the transparent .gifs look normal elsewhere (i.e. If you create a quick webpage with the transparent .gifs, do they have the halo)? If they look normal when viewing them elsewhere then I have no idea what the problem could be.

;)

:P Hmm, odd indeed. All of the pictures used above were made in photoshop and are indeed normally transparent when you view them on an internet browser.

EDIT: I've attached one of the pictures having the problem. Could you test it out to see if it produces the same results?

GUICtrlCreatePic ( "lex_3.gif",     38, 130, 23, 21)
Edited by Lord Felix

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0