Bug 721851 - Command line export not working for pixbuf

The pixbuf export requires a diaplay. Use gtk_init_check() to
allow command line export from an X terminal without sacrificing
the command line mode without X11.