Jagdish's image_pixbuf implementation