Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "plugin.h"
-
#include "debugging/debugging.h"
#include "ifilesystem.h"
png_set_tRNS_to_alpha( png_ptr );
}
- if ( !( color_type & PNG_COLOR_MASK_ALPHA ) ) {
+ else if ( !( color_type & PNG_COLOR_MASK_ALPHA ) ) {
// Set the background color to draw transparent and alpha images over.
png_color_16 my_background, *image_background;
_QERPlugImageTable m_imagepng;
public:
typedef _QERPlugImageTable Type;
+
STRING_CONSTANT( Name, "png" );
ImagePNGAPI(){
m_imagepng.loadImage = LoadPNG;
}
+
_QERPlugImageTable* getTable(){
return &m_imagepng;
}