WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: GTK and images?  (Read 1997 times)

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
GTK and images?
« on: November 18, 2009, 01:07:37 PM »
Using GTK in python, GTK seems unable to determine the file format of any image I throw at it.

Similarly, I've noticed pidgin is unable to display smileys or contacts' avatars. It would seem that this is related to python's inability to interact with images properly.


Any idea what's going on here?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: GTK and images?
« Reply #1 on: November 18, 2009, 01:43:28 PM »
Using GTK in python, GTK seems unable to determine the file format of any image I throw at it.

Similarly, I've noticed pidgin is unable to display smileys or contacts' avatars. It would seem that this is related to python's inability to interact with images properly.


Any idea what's going on here?

shared-mime-info ?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: GTK and images?
« Reply #2 on: November 18, 2009, 04:10:00 PM »
*scratches head* I'll be a little annoyed at myself if it's that simple.

Thanks, I'll install that when I get home.

This looks related to my problem, and I see shared-mime-info mentioned there, too.

[^thehatsrule^: fixed link]
« Last Edit: November 18, 2009, 10:51:32 PM by ^thehatsrule^ »

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: GTK and images?
« Reply #3 on: November 19, 2009, 04:10:30 AM »
whaddaya know, shared-mime-info fixed it. Thanks =)