Re: [Tutor] [pygtk] taking image of gtk.drawing area

2009-06-19 Thread saeed
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 >

[Tutor] Weird Python Error

2013-10-17 Thread Zaid Saeed
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