Add gdk_pixbuf_loader_new_with_type function, to allow handling image
2000-07-27 Elliot Lee <sopwith@redhat.com> * gtk/gdk-pixbuf-loader.[ch]: Add gdk_pixbuf_loader_new_with_type function, to allow handling image formats that cannot be detected by looking at content alone. gdk-pixbuf/ 2000-07-27 Elliot Lee <sopwith@redhat.com> * gdk-pixbuf-io.h, gdk-pixbuf-io.c: Add gdk_pixbuf_get_named_module() function to facilitate above change * io-bmp.c: Don't malloc a temporary buffer - use stack instead. * io-wbmp.c, pixbufloader_wbmp.defs, gdk-pixbuf-io.c, Makefile: Implement loader for WBMP format. **NOTE: I haven't tested this yet, I need to sync it to another machine, but it if it is broken I'm already working on fixing it
This commit is contained in:
@ -72,6 +72,7 @@ struct _GdkPixbufLoaderClass
|
||||
|
||||
GtkType gdk_pixbuf_loader_get_type (void);
|
||||
GdkPixbufLoader * gdk_pixbuf_loader_new (void);
|
||||
GdkPixbufLoader * gdk_pixbuf_loader_new_with_type (const char *image_type);
|
||||
gboolean gdk_pixbuf_loader_write (GdkPixbufLoader *loader,
|
||||
const guchar *buf,
|
||||
gsize count);
|
||||
|
||||
Reference in New Issue
Block a user