#ifndef pngro_H
#define pngro_H

#include <oslib/osspriteop.h>

extern int have_adaptive;

Bitmap *build_sprite_from_png(FILE *fp, gfx_dir *directory, int urgent);
void do_alpha_plot(Bitmap *bmp, osspriteop_header *dst, int x, int y);
void do_alpha_plot_scaled(Bitmap *bmp, osspriteop_header *dst, int x, int y, os_factors *fac);
void do_alpha_plot_dithered(Bitmap *bmp, osspriteop_header *dst, int x, int y);
void do_alpha_plot_scaled_dithered(Bitmap *bmp, osspriteop_header *dst, int x, int y, os_factors *fac);
void build_gamma_tables(float gamma);
void pngro_note_palette(osspriteop_area **area);
int pngro_match_palette(osspriteop_area **area);

#endif
