Re: GdkPixbuf: png loader doing too much work?




Probably because it was based on imlib ... the jpeg decoder has
similar weird shit in it, but it was completely removed.
(it might make sense if you wanted to scale or process the data
as it loaded, but gdk-pixbuf doesn't do that).

Assuming the code sets up the right decode size for png's, that code
looks ok to me.

> Is there any reason why the png loader in gdk-pixbup loads the image
> into temporary row buffers, and then copies them to the art_pixbuf
> pixel buffer?  In other words is there any reason why the patch below
> shouldn't be applied?
> 
> On a side note: what are the plans for progressive loading?

There aren't any, for gdk-pixbuf.

 Michael



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