Bibliothèque de traitements d'images en virgule flottante.
http://la.buvette.org/photos/cumul/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
642 B
30 lines
642 B
/* |
|
* Lecture/ecriture des images EXR |
|
* ------------------------------- |
|
*/ |
|
|
|
#include <stdio.h> |
|
#include <stdlib.h> |
|
#include <string.h> |
|
|
|
#include "../floatimg.h" |
|
|
|
extern int verbosity; |
|
|
|
/* --------------------------------------------------------------------- */ |
|
int fimg_save_as_exr(FloatImg *src, char *outname, int flags) |
|
{ |
|
// #if DEBUG_LEVEL |
|
fprintf(stderr, ">>> %s ( %p '%s' 0x%X )\n", __func__, src, outname, flags); |
|
// #endif |
|
|
|
if (FIMG_TYPE_RGB != src->type) { |
|
fprintf(stderr, "%s: src bad type %d\n", __func__, src->type); |
|
return -2; |
|
} |
|
|
|
|
|
|
|
return -2; |
|
} |
|
/* --------------------------------------------------------------------- */
|
|
|