🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
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.

19 lines
283 B

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <tinyexr.h>
  4. int main(int argc, char** argv)
  5. {
  6. float *rgba;
  7. const char* err;
  8. int width;
  9. int height;
  10. if (argc < 2) {
  11. return EXIT_FAILURE;
  12. }
  13. int ret = LoadEXR(&rgba, &width, &height, argv[1], &err);
  14. return ret;
  15. }