1 /*
2  * pixbuf_from_imagesource.h
3  * Creates a GdkPixbuf from an ImageSource
4  *
5  * Copyright (c) 2005 by Alastair M. Robinson
6  * Distributed under the terms of the GNU General Public License -
7  * see the file named "COPYING" for more details.
8  *
9  */
10 
11 #ifndef PIXBUF_FROM_IMAGESOURCE_H
12 #define PIXBUF_FROM_IMAGESOURCE_H
13 
14 #include <gdk/gdkpixbuf.h>
15 
16 #include "imagesource.h"
17 #include "progress.h"
18 
19 GdkPixbuf *pixbuf_from_imagesource(ImageSource *is,
20 	int redbg8=255,int greenbg8=255,int bluebg8=255,Progress *prog=NULL,GdkPixbuf *pb=NULL);
21 
22 GdkPixbuf *pixbuf_alpha_from_imagesource(ImageSource *is,Progress *prog=NULL,GdkPixbuf *pb=NULL);
23 
24 #endif
25