[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] BUG: pygame.image.save and tiff files.
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] BUG: pygame.image.save and tiff files.
- From: "Ian Mallett" <geometrian@xxxxxxxxx>
- Date: Tue, 29 Jan 2008 12:10:50 -0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 29 Jan 2008 15:10:59 -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:content-transfer-encoding:content-disposition:references; bh=EVEko3Xhi+hgoniYB9Kk9pDZwaZ/ug6JI8WaPs2TscM=; b=MI8NnPCi+R9QapdOVlGwkXoBNd9PsLZftu7lfaWrDVDiNDzN5+GD+1dPvpOT/jAQCeIbqgerPmwUgL+p1HexZZDpaDC3bVhwdyBsx2C6W8Ub5MU++QwysFa+fyX2HiGskzmhKt/GVvZ8hQ6KbVrkOT9Xa5qiJaQWLHsp87dLU10=
- 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:content-transfer-encoding:content-disposition:references; b=PnM8ZT6tVU7Y1OoQ+TJoZyycYHa/8gKXci352SJ+0tFT4qEbvqDh9ThkHvuBSnFhZHoDDPXdDqPTqBBR/6Ow+1yXWOe55f5JbpwbgHyZH5ns17m4M7BXgLUBal6qara0m8c4UFrlVsTIhgzByc4cNjVrq7v6R3HZCSET3whcnEs=
- In-reply-to: <479F77FB.2050909@xxxxxxxxx>
- References: <479F77FB.2050909@xxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
On 1/29/08, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
> I gather pygame.image.save does not support writing tiff files. Yet it
> permits a file with a '.tif' suffix to be written. The file is just in
> some unknown image format.
I think that if it does not recognise the extension, it saves it as a
tga. I've never tried to save as .tif, but I suspect that it would
save your surface as a .tga file, but with the original filename with
a .tif extension.
eg. Surface + 'Surface.tif' -> 'Surface.tif' (TGA image file)
(Maybe) :-)
Ian