EDT PDV SDK Documentation 6.1.0
|
EDT digital imaging utilities library header file. More...
Functions | |
int | edt_dvu_write_raw (int imagesize, u_char *imagebuf, char *fname) |
Writes a 24-bit per pixel RGB data buffer as a raw data file (no formatting). More... | |
int | edt_dvu_write_bmp (char *fname, u_char *buffer, int w, int h) |
Writes an 8-bit per pixel data buffer as a grayscale Windows bitmap file. More... | |
int | edt_dvu_write_bmp24 (char *fname, u_char *buffer, int w, int h) |
Writes a 24-bit per pixel RGB data buffer as a Windows bitmap file. More... | |
int | edt_dvu_write_image (char *fname, u_char *addr, int x_size, int y_size, int istride) |
Utility routine that outputs a 1-band, 8-bit image to a Sun raster format file (regardless of platform), with stride. This function can be used to output a partial image. For example, to output the top left 100x100 pixels of the image, specify x_size of 100 and y_size * 100, and an istride of the actual width of the image. More... | |
int | edt_dvu_write_image24 (char *fname, u_char *addr, int x_size, int y_size, int istride) |
Writes a 24-bit per pixel RGB data buffer as a Sun Raster format file, with stride. More... | |
int | edt_dvu_write_rasfile (char *fname, u_char *addr, int x_size, int y_size) |
Utility routine that outputs a 1-band, 8-bit image to a Sun raster format file (regardless of platform). More... | |
int | edt_dvu_write_rasfile16 (char *fname, u_char *addr, int x_size, int y_size, int depth) |
Converts 1 band, 10-16 bit image to a sun raster format file and writes to a file. More... | |
int | edt_dvu_write_rasfile24 (char *fname, u_char *addr, int x_size, int y_size) |
Writes a 24-bit per pixel RGB data buffer as a Sun Raster format file. More... | |
EDT digital imaging utilities library header file.
int edt_dvu_write_bmp24 | ( | char * | fname, |
u_char * | buffer, | ||
int | w, | ||
int | h | ||
) |
Writes a 24-bit per pixel RGB data buffer as a Windows bitmap file.
fname | Filename. |
buffer | Data buffer, one byte per pixel. |
width | Number of pixels (bytes) per line. |
height | Number of lines in the image. |