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

  1. /*
  2. * Lecture/ecriture des images EXR
  3. * -------------------------------
  4. */
  5. #include <stdio.h>
  6. #include <stdlib.h>
  7. #include <string.h>
  8. #include "../floatimg.h"
  9. extern int verbosity;
  10. /* --------------------------------------------------------------------- */
  11. int fimg_save_as_exr(FloatImg *src, char *outname, int flags)
  12. {
  13. // #if DEBUG_LEVEL
  14. fprintf(stderr, ">>> %s ( %p '%s' 0x%X )\n", __func__, src, outname, flags);
  15. // #endif
  16. if (FIMG_TYPE_RGB != src->type) {
  17. fprintf(stderr, "%s: src bad type %d\n", __func__, src->type);
  18. return -2;
  19. }
  20. return -2;
  21. }
  22. /* --------------------------------------------------------------------- */