#include <stdio.h>#include <stdlib.h>#include <string.h>#include "ImageIO.h"#include "Inform.h"#include "utilities.h"Go to the source code of this file.
Functions | |
| void | putbyte (FILE *outf, unsigned char val) |
| void | putshort (FILE *outf, unsigned short val) |
| void | putint (FILE *outf, unsigned int val) |
| unsigned char * | cvt_rgb4u_rgb3u (const unsigned char *rgb4u, int xs, int ys) |
| copy/convert a 32-bit RGBA color buffer to a 24-bit RGB color buffer. More... | |
| unsigned char * | cvt_rgb4f_rgb3u (const float *rgb4f, int xs, int ys) |
| copy/convert a 128-bit RGBA float color buffer to a 24-bit RGB color buffer. More... | |
| unsigned char * | cvt_rgba4f_rgba4u (const float *rgba4f, int xs, int ys) |
| int | checkfileextension (const char *s, const char *extension) |
| int | write_image_file_rgb3u (const char *filename, const unsigned char *rgb3u, int xs, int ys) |
| Write an unsigned RGB 24-bit color image, by filename extension. More... | |
| int | write_image_file_rgb4u (const char *filename, const unsigned char *rgb4u, int xs, int ys) |
| Write an unsigned RGBA 32-bit color image, by filename extension. More... | |
| int | write_image_file_rgb4f (const char *filename, const float *rgb4f, int xs, int ys) |
| Write an float RGBA 128-bit color image, by filename extension. More... | |
| int | write_image_file_rgba4u (const char *filename, const unsigned char *rgba4u, int xs, int ys) |
| Write an unsigned RGBA 32-bit color image, with alpha channel, by filename extension. More... | |
| int | write_image_file_rgba4f (const char *filename, const float *rgba4f, int xs, int ys) |
| Write an float RGBA 128-bit color image, with alpha channel, by filename extension. More... | |
| void | vmd_writergb (FILE *dfile, const unsigned char *img, int xs, int ys) |
| Write 24-bit uncompressed SGI RGB image file. More... | |
| void | write_le_int32 (FILE *dfile, int num) |
| void | write_le_int16 (FILE *dfile, int num) |
| void | vmd_writebmp (FILE *dfile, const unsigned char *img, int xs, int ys) |
| Write 24-bit uncompressed Windows Bitmap file. More... | |
| void | vmd_writeppm (FILE *dfile, const unsigned char *img, int xs, int ys) |
| Write 24-bit uncompressed NetPBM Portable Pixmap file. More... | |
| void | vmd_writetga (FILE *dfile, const unsigned char *img, int xs, int ys) |
| Write 24-bit uncompressed Truevision "Targa" file. More... | |
|
||||||||||||
|
Definition at line 137 of file ImageIO.C. References strupncmp. |
|
||||||||||||||||
|
copy/convert a 128-bit RGBA float color buffer to a 24-bit RGB color buffer.
|
|
||||||||||||||||
|
copy/convert a 32-bit RGBA color buffer to a 24-bit RGB color buffer.
|
|
||||||||||||||||
|
Definition at line 108 of file ImageIO.C. Referenced by write_image_file_rgba4f. |
|
||||||||||||
|
Definition at line 38 of file ImageIO.C. Referenced by vmd_writergb. |
|
||||||||||||
|
Definition at line 51 of file ImageIO.C. Referenced by vmd_writergb. |
|
||||||||||||
|
Definition at line 44 of file ImageIO.C. Referenced by vmd_writergb. |
|
||||||||||||||||||||
|
Write 24-bit uncompressed Windows Bitmap file.
Definition at line 314 of file ImageIO.C. References NULL, write_le_int16, and write_le_int32. |
|
||||||||||||||||||||
|
Write 24-bit uncompressed NetPBM Portable Pixmap file.
Definition at line 376 of file ImageIO.C. References NULL. |
|
||||||||||||||||||||
|
Write 24-bit uncompressed SGI RGB image file.
|
|
||||||||||||||||||||
|
Write 24-bit uncompressed Truevision "Targa" file.
Definition at line 392 of file ImageIO.C. References NULL. |
|
||||||||||||||||||||
|
Write an unsigned RGB 24-bit color image, by filename extension.
Definition at line 150 of file ImageIO.C. References checkfileextension, NULL, vmd_writebmp, vmd_writeppm, vmd_writergb, and vmd_writetga. |
|
||||||||||||||||||||
|
Write an float RGBA 128-bit color image, by filename extension.
Definition at line 205 of file ImageIO.C. References cvt_rgb4f_rgb3u, NULL, and write_image_file_rgb3u. |
|
||||||||||||||||||||
|
Write an unsigned RGBA 32-bit color image, by filename extension.
Definition at line 189 of file ImageIO.C. References cvt_rgb4u_rgb3u, NULL, and write_image_file_rgb3u. |
|
||||||||||||||||||||
|
Write an float RGBA 128-bit color image, with alpha channel, by filename extension.
Definition at line 253 of file ImageIO.C. References cvt_rgba4f_rgba4u, NULL, and write_image_file_rgba4u. |
|
||||||||||||||||||||
|
Write an unsigned RGBA 32-bit color image, with alpha channel, by filename extension.
Definition at line 221 of file ImageIO.C. References checkfileextension, and NULL. |
|
||||||||||||
|
Definition at line 308 of file ImageIO.C. References num. Referenced by vmd_writebmp. |
|
||||||||||||
|
Definition at line 301 of file ImageIO.C. References num. Referenced by vmd_writebmp. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002