Browse Source

comments in texture from file

Former-commit-id: c1fe42df8cad018366b18c8495d3b2284e1c3804
Alec Jacobson (jalec 11 years ago
parent
commit
cd3c29a54a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      include/igl/png/texture_from_file.h

+ 3 - 1
include/igl/png/texture_from_file.h

@@ -9,7 +9,9 @@
 
 namespace igl
 {
-  // Read an image from an image  ile and use it as a texture
+  // Read an image from an image file and use it as a texture. Officially, only
+  // .tga and .png are supported. Any filetype read by ImageMagick's `convert`
+  // will work via an unsafe system call.
   //
   // Input:
   //  filename  path to image file