Re: Independent image loaders in gdk-pixbuf

Looking at javax.imageio.ImageIO, it has 

static String[] getReaderFormatNames()
static String[] getReaderMIMETypes()
static String[] getWriterFormatNames()
static String[] getWriterMIMETypes()

If we want to support something like this, GdkPixbufModule must probably
get a few new functions to return this information.

javax.imageio also supports getting readers/writers by file suffix, but 
I'm not
sure that makes much sense - for reading, you should rather let gdk-pixbuf
find a suitable loader itself, for writing, a format name is just as good.


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