[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Problem with image scaling.
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Problem with image scaling.
- From: "Ian Mallett" <geometrian@xxxxxxxxx>
- Date: Sun, 18 Jan 2009 16:07:57 -0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sun, 18 Jan 2009 19:08:00 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=nfj9gUlUxTdJngkuLxKhbGstyDTSC+9NvGynX09Jfrg=; b=BhT2v2S+k+TLysdgDm83VUSik528DT7qf5KSkG5BwVJJ6iNPRQ+l6I+Gtas8F1KQei tdFKQsEzaT4yV4u3ZgMwY1zU7omz6NASYxQaaorhU6Y/K+xmePaT5EcFKgJzlqoClvdG Q1lpQVqJSXOCh0UPurq02KfAQ12ll/3bfLNkM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=W4F3Gqxp1VFyYTYATZNrDFgRJ3bs8++jfhjrhcQiB9RZZmCpDB8M+voQYq7FcGznkI TC2pEUcMGfqVA18PTI4C2hRitfG+E3JE1uGtLz6/xYzpLaov6V8rAvwaTLvUSAJx23CD QSUY3UCzfQKD62d3Z35SHsFJf/91Hww/b0HZQ=
- In-reply-to: <959294.6624.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- References: <959294.6624.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Um, because you need to set the image to the scaled image. Try self.image = pygame.transform.scale(self.image, scalev)
-I