Re: Drawing jpg files

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

 



On Wed, Jun 15, 2005 at 12:00:41AM -0700, Shiraz Baig wrote:
> I wish to show a jpg file in the user interface.
> What widget do I use and what function call do I use.
> I tried an image widget But it does not show jpg
> files.

gtk_image_new_from_file("file.jpeg");

It can load JPEGs -- unless you disabled it Gtk+-compile-time
with
./configure --without-libjpeg
(or managed to break the pixbuf loader after installation).

Yeti


--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux