Re: gdk-pixbuf and mime-types



On 7 Jun 2001, jacob berkman wrote:
> > > while hacking eog to use the new file selector, it occured to me that
> > > eog doesn't actually know what kinds of files it can open, since this
> > > depends entirely on gdk-pixbuf (which can actually load files of types
> > > it didn't come with, due to the plugins, right?).
> > >
> > > so are there problems with adding API to gdk-pixbuf to get a list of
> > > mime-types it thinks it can load?
> >
> > An API for this would be a good addition. But that still doesn't allow the
> > .oaf file to contain the proper list of MIME types, so gnome-vfs (and
> > hence Nautilus) can't be told which types of files the eog component can
> > handle. If we are going to fix this problem, it might be nice to fix it in
> > a way that solves this aspect of the problem too.

There is also another problem with gdk-pixbuf. Not all image types which
are supported by gdk_pixbuf_new_from_file can be loaded with a
gdk-pixbuf-loader (e.g. xpm). The loader is what eog currently uses. But
maybe we should fix this stuff in gdk-pixbuf.

  Jens





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]