#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "tachyon.h"
#include "util.h"
#include "imageio.h"
#include "pngfile.h"
Go to the source code of this file.
|
int | readpng (const char *name, int *xres, int *yres, unsigned char **imgdata) |
|
int | writepng (const char *name, int xres, int yres, unsigned char *imgdata) |
|
◆ TACHYON_INTERNAL
#define TACHYON_INTERNAL 1 |
◆ readpng()
int readpng |
( |
const char * |
name, |
|
|
int * |
xres, |
|
|
int * |
yres, |
|
|
unsigned char ** |
imgdata |
|
) |
| |
◆ writepng()
int writepng |
( |
const char * |
name, |
|
|
int |
xres, |
|
|
int |
yres, |
|
|
unsigned char * |
imgdata |
|
) |
| |