JPEG doesn't support alpha (transparency), try with PNG or GIF.
On 6/19/09, Amit Sethi wrote:
> Hi ,
> I am trying to take image of a gst video playing in the gtk.drawingarea i am
> using following code for it :
>
> def snap_shot(self,widget,data=None):
> global file_loc ,pixbuf
>
First and foremost, here is the code:
"""
Player Car
"""
import pygame, random
pygame.init()
screen = pygame.display.set_mode((640, 480))
class RedCar(pygame.sprite.Sprite):
def __init__(self):
pygame.sprite.Sprite.__init__(self)
self.image = pygame.imag