#! /usr/bin/perl use Gtk2 '-init'; use Data::Dumper; foreach ( Gtk2::Gdk::Pixbuf->get_formats ) { print Dumper $_; }