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

Re: [pygame] image conversion in memory



thanks I'll try it tonight



On Mon, Aug 11, 2014 at 4:00 PM, Radomir Dopieralski <pygame@xxxxxxxxxxxx> wrote:
On 08/11/2014 11:40 AM, diliup gabadamudalige wrote:
> get_screen = SCREEN.subsurface(0, 0, SCREENW, SCREENH) # grab the screen
>
> Âhow can you concert get_screen to a jpeg or a png WITHOUT saving to
> disk? In Pygame..

I just told you. Use the example I gave you, it works.


--
The Sheep



--
Diliup Gabadamudalige

http://www.diliupg.com
http://soft.diliupg.com/

**********************************************************************************************
This e-mail is confidential. It may also be legally privileged. If you are not the intended recipient or have received it in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Any unauthorized reading, reproducing, printing or further dissemination of this e-mail or its contents is strictly prohibited and may be unlawful. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
**********************************************************************************************