Functions

bmp2png.cpp File Reference

#include <windows.h>
#include <stdio.h>
#include "pngdib.h"

Functions

int read_bmp_to_mem (const char *bmpfn, unsigned char **bmppp, DWORD *fsizep)
 PNGDIB - a mini DIB-PNG conversion library for Win32 By Jason Summers <jason1@pobox.com> Version 2.1.0/2.2.0, copyright 2002 Web site: http://pobox.com/~jason1/imaging/pngdib/.
int convertBMP2PNG (const char *bmpfn, const char *pngfn)

Function Documentation

int convertBMP2PNG ( const char *  bmpfn,
const char *  pngfn 
)
int read_bmp_to_mem ( const char *  bmpfn,
unsigned char **  bmppp,
DWORD *  fsizep 
)

PNGDIB - a mini DIB-PNG conversion library for Win32 By Jason Summers <jason1@pobox.com> Version 2.1.0/2.2.0, copyright 2002 Web site: http://pobox.com/~jason1/imaging/pngdib/.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Permission is hereby granted to use, copy, modify, and distribute this source code for any purpose, without fee.

Referenced by convertBMP2PNG().