Modify ↓
Opened 13 years ago
Closed 12 years ago
#2461 closed Bug (Fixed)
GUICtrlSetImage doesn't handle certain types of .gif file
| Reported by: | kev51773 | Owned by: | Jon |
|---|---|---|---|
| Milestone: | 3.3.9.22 | Component: | AutoIt |
| Version: | 3.3.8.1 | Severity: | None |
| Keywords: | GUICtrlSetImage gif | Cc: |
Description
Using the attached files, try the following script.
GUICreate("test")
$pic = GUICtrlCreatePic("C:\blah\White.gif",0,0)
GUISetState()
sleep(1000)
GUICtrlSetImage($pic,"C:\blah\Blue.gif")
sleep(1000)
exit
A white image will be displayed, a second later it will be replaced by a blue image.
Now try the following (switching the order of the images)
GUICreate("test")
$pic = GUICtrlCreatePic("C:\blah\Blue.gif",0,0)
GUISetState()
sleep(1000)
GUICtrlSetImage($pic,"C:\blah\White.gif")
sleep(1000)
exit
A blue image will be displayed, the white image will never appear.
This doesn't happen with 8 bit gif images but seems to happen with anything less than 8 bit.
Also, it doesn't only happen with white, it happens with any colour where the values for R G & B are all greater than 0.
Attachments (2)
Change History (4)
by , 13 years ago
by , 13 years ago
comment:1 by , 13 years ago
comment:2 by , 12 years ago
| Milestone: | → 3.3.9.22 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [9052] in version: 3.3.9.22
Note:
See TracTickets
for help on using tickets.

The problem is not related with gif format but just a refresh problem