use Gdk::Pixbuf#get_file_info for obtaining the dimensions of the picture, its faaaster