/***************************************************************************
                            qt_QPNGImageWriter.h -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QPNGIMAGEWRITER
#define QT_QPNGIMAGEWRITER

#include <qtc/qtc_types.h>

#define QPNGIMAGEWRITER_Unspecified	0
#define QPNGIMAGEWRITER_NoDisposal	1
#define QPNGIMAGEWRITER_RestoreBackground	2
#define QPNGIMAGEWRITER_RestoreImage	3
qt_QPNGImageWriter * qt_new_QPNGImageWriter(qt_QIODevice * arg1);
void qt_del_QPNGImageWriter( qt_QPNGImageWriter* p );
void qt_QPNGImageWriter_setDisposalMethod(qt_QPNGImageWriter* instPointer,int arg1);
void qt_QPNGImageWriter_setLooping(qt_QPNGImageWriter* instPointer,int loops);
void qt_QPNGImageWriter_setFrameDelay(qt_QPNGImageWriter* instPointer,int msecs);
void qt_QPNGImageWriter_setGamma(qt_QPNGImageWriter* instPointer,float arg1);
int qt_QPNGImageWriter_writeImage(qt_QPNGImageWriter* instPointer,qt_QImage * img, int x, int y);
int qt_QPNGImageWriter_writeImage1(qt_QPNGImageWriter* instPointer,qt_QImage * img, int quality, int x, int y);
int qt_QPNGImageWriter_writeImage2(qt_QPNGImageWriter* instPointer,qt_QImage * img);
int qt_QPNGImageWriter_writeImage3(qt_QPNGImageWriter* instPointer,qt_QImage * img, int quality);
qt_QIODevice * qt_QPNGImageWriter_device(qt_QPNGImageWriter* instPointer);

#endif
