#include "png.h"
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
|
#define | PNG_PEDANTIC_WARNINGS |
|
#define | READFILE(file, data, length, check) check=(png_size_t)fread(data, (png_size_t)1, length, file) |
|
#define | WRITEFILE(file, data, length, check) check=(png_size_t)fwrite(data, (png_size_t)1, length, file) |
|
#define | FCLOSE(file) fclose(file) |
|
#define | PNG_DEBUG 0 |
|
#define | SINGLE_ROWBUF_ALLOC /* Makes buffer overruns easier to nail */ |
|
#define | PNG_tIME_STRING_LENGTH 29 |
|
#define | STDERR stdout /* For DOS */ |
|
|
int test_one_file | PNGARG ((PNG_CONST char *inname, PNG_CONST char *outname)) |
|
void | read_row_callback (png_structp png_ptr, png_uint_32 row_number, int pass) |
|
void | write_row_callback (png_structp png_ptr, png_uint_32 row_number, int pass) |
|
void | count_filters (png_structp png_ptr, png_row_infop row_info, png_bytep data) |
|
void | count_zero_samples (png_structp png_ptr, png_row_infop row_info, png_bytep data) |
|
int | test_one_file (PNG_CONST char *inname, PNG_CONST char *outname) |
|
int | main (int argc, char *argv[]) |
|
◆ FCLOSE
#define FCLOSE |
( |
|
file | ) |
fclose(file) |
◆ PNG_DEBUG
◆ PNG_PEDANTIC_WARNINGS
#define PNG_PEDANTIC_WARNINGS |
◆ PNG_tIME_STRING_LENGTH
#define PNG_tIME_STRING_LENGTH 29 |
◆ READFILE
◆ SINGLE_ROWBUF_ALLOC
#define SINGLE_ROWBUF_ALLOC /* Makes buffer overruns easier to nail */ |
◆ STDERR
#define STDERR stdout /* For DOS */ |
◆ WRITEFILE
◆ your_png_h_is_not_version_1_2_56
◆ count_filters()
◆ count_zero_samples()
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 1455 of file pngtest.c.
References NULL, png_access_version_number(), png_get_copyright(), png_get_header_version(), PNG_HEADER_VERSION_STRING, png_libpng_ver, PNG_LIBPNG_VER, PNG_LIBPNG_VER_STRING, png_sizeof, STDERR, and ZLIB_VERSION.
◆ PNGARG()
◆ read_row_callback()
◆ test_one_file()
◆ write_row_callback()