Tachyon (current)  Current Main Branch
Macros | Functions
psd.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "tachyon.h"
#include "util.h"
#include "imageio.h"
#include "psd.h"

Go to the source code of this file.

Macros

#define TACHYON_INTERNAL   1
 

Functions

int writepsd48 (char *name, int xres, int yres, unsigned char *imgdata)
 

Macro Definition Documentation

◆ TACHYON_INTERNAL

#define TACHYON_INTERNAL   1

Definition at line 16 of file psd.c.

Function Documentation

◆ writepsd48()

int writepsd48 ( char *  name,
int  xres,
int  yres,
unsigned char *  imgdata 
)

Definition at line 22 of file psd.c.

References IMAGEBADFILE, and IMAGENOERR.

Referenced by writeimage().