I'm trying to display a logo I've made in my application. It's in PNG format
and looks fine in the GIMP and Galeon but in my application it looks jaggy.

Here's the code I'm using to display it (in perl):

# Load and pack the logo
my $logo = Gtk::Gdk::Pixbuf->new_from_file(PHOTOGAL_LOGO);
my ($pixmap, $mask) = $logo->render_pixmap_and_mask(100);
$hbox->pack_start(new Gtk::Pixmap($pixmap, $mask), TRUE, TRUE, 0);

What am I doing wrong? Is there a better way to display a png than converting
it to a Gtk::Pixmap?

I can send the logo if necessary.

Thanks,

Jason

--
Jason Bodnar
[EMAIL PROTECTED]
http://www.shakabuku.org

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to