Re: Display jpeg image only use GTK instead of using imlib and gdk-pixbuf?
- From: Havoc Pennington <hp redhat com>
- To: "david" <davidchen itri org tw>
- Cc: <gtk-list gnome org>
- Subject: Re: Display jpeg image only use GTK instead of using imlib and gdk-pixbuf?
- Date: 12 Jan 2001 14:03:23 -0500
"david" <davidchen itri org tw> writes:
> Does anyone know that is pure GTK is able to do that?
>
No, that's why gdk-pixbuf and imlib exist. ;-) For GTK 2, gdk-pixbuf
is merged into GTK itself, so using gdk-pixbuf shouldn't long term
make any difference in your code size.
If you want to avoid it though, just use libjpeg and copy the code
from gdk-pixbuf that uses libjpeg to read an RGB buffer and then use
gdkrgb to render it.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]