jvanegmond Posted June 9, 2006 Share Posted June 9, 2006 (edited) I've had any problems using gif images but recently i tried to build a funny game, now that i'm starting over realising the concept had too many flaws. I'm getting problems using a .gif image. The problem may be in the gif or in AutoIt itself, i think i have pretty much ruled out problems in my script. It may have something with AutoIt picking the wrong color as the transparent one. (Adobe CS and Windows' ImageViewer do it the right way though). Please look at this, I have included the gif and the script and please play around with it because i can't get it right. [Edit] IE displays the gif properly too. [Edit] Those who háve downloaded this. Please tell me if it's Not working also, because i am clueless wether or not it is my pc or autoit. Edited June 9, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
jvanegmond Posted June 13, 2006 Author Share Posted June 13, 2006 This should be on top. github.com/jvanegmond Link to comment Share on other sites More sharing options...
nfwu Posted June 13, 2006 Share Posted June 13, 2006 This is a transparent GIF? Transparent GIF have to be treated diffently. Example From the Help File: ;----- example 2 #include "GUIConstants.au3" $gui=GUICreate("test transparentpic", 200, 100) $pic=GUICreate("", 68, 71, 10, 10,$WS_POPUP,BitOr($WS_EX_LAYERED,$WS_EX_MDICHILD),$gui) GUICtrlCreatePic(@Systemdir & "\oobe\images\merlin.gif",0,0, 0,0) GUISetState(@SW_SHOW,$pic) GUISetState(@SW_SHOW,$gui) do until GuiGetMsg() = $GUI_EVENT_CLOSE TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
jvanegmond Posted June 13, 2006 Author Share Posted June 13, 2006 I have copied that script and pasted my own image in but i still had the same problem. So i'd say in that case the code is PERFECT. The image is fine. So does the problem lie in AutoIt itself? github.com/jvanegmond Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now