[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

RE: [pygame] Problem with set_icon - image is distorted on taskbar



Thanks, that would be much appreciated.

The icon is at http://orbquest.googlecode.com/files/icon.bmp

Here is a test script:

=============

import pygame
from pygame.locals import * 

pygame.init()    
pygame.display.set_mode((400,300)) 
pygame.display.set_caption("test")
icon = pygame.image.load("icon.bmp").convert()
icon.set_colorkey((0,0,0))
pygame.display.set_icon(icon)        

while 1:  
    pass 

=============
 
Cheers, Brian

> -----Original Message-----
> From: owner-pygame-users@xxxxxxxx 
> [mailto:owner-pygame-users@xxxxxxxx] On Behalf Of Brian Fisher
> Sent: Monday, 9 April 2007 4:35 p.m.
> To: pygame-users@xxxxxxxx
> Subject: Re: [pygame] Problem with set_icon - image is 
> distorted on taskbar
> 
> If you post a bmp and a quick test script that demonstrates 
> the problem, I'd definitely look at it (and I expect many others would
> too)
> 
> 
> On 4/8/07, Brian Bull 
> <Brian.Bull@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> >
> >
> > Hello list,
> >
> > I'm trying to add an icon to my Pygame app using set_icon. 
> The image 
> > is a
> > 16x16 256-color BMP. The icon appears OK on the title bar of the 
> > application, but on the taskbar it looks strangely 
> distorted and ugly 
> > (with transparent holes through it).
> >
> > Any suggestions as to what could be causing this problem?
> >
> > I am running Win XP if that's relevant.
> >
> >
> > Cheers
> > Brian
> >
> > 
> ______________________________________________________________________
> > __________________________________________
> >
> > "The information contained in this transmission is 
> confidential. It is 
> > intended for the named address only. If you are not the 
> named address 
> > you may not copy, distribute or take any action in reliance 
> upon this 
> > transmission."
> 
"The information contained in this transmission is confidential. It is intended for the named address only. If you are not the named address you may not copy, distribute or take any action in reliance upon this transmission"