On 8/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Mon, Aug 07, 2006 at 09:21:26AM -0500, Matt Hoosier wrote:
> > Hi,
> >
> > I'd like to use gdk-pixbuf-csource for the usual reasons (to eliminate
> > runtime file access in an application).
> [...]
> >                     Is this just the best I can get, or is there some
> > more tricky way to make the tool just insert a bytewise copy of the
> > image file, and let the pixbuf do all decoding at runtime?
>
> Well, the PNG has quiote a few compression tricks which have to be
> undone when reading it (unless you can send it down to the X server
> as-is). So I'd guess that the "bytewise copy of the image file", like
> what is in the program image is more like what csource does. When you
> read in the image, it will get expanded anyway.

Yes, understood. It would be nice to avoid the expansion until actual
use, so that the process's address space isn't inflated for images
that are only occassionally used. There's also the consideration the
the binary's disk footprint grows, which is significant when dealing
with embedded apps.

>
> Regards
> -- tomás
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFE11AlBcgs9XrR2kYRAkW4AJ9KdaFWq4erHynGtLWSPOzEcXrOnwCeIVUF
> J1uyYJ1fXfBkfJ9hORT84nM=
> =qTjB
> -----END PGP SIGNATURE-----
>
>
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to