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

Re: [pygame] displaying of partially loaded images



Hi,

unfortunately, you'd need to write your own loader to do this (using libjpeg or platform libraries).  The SDL loaders deal with whole images.  Maybe PIL supports partial image loads... I'm not sure.


On Wed, Mar 14, 2012 at 9:04 AM, kuragg <kuragglol@xxxxxxxxx> wrote:
nya, guys | i want to create a browser-type program | it must display jpg and png images in progress of their downloading | now i just loading image by 100000 byte parts, saving them in file, telling pygame to image.load(that_file) , displaying it and repeat untill that image is fully downloaded | it's kinda works, sometimes, and spams tons of errors in console | is there a normal \rational\proper\correct way to do this?