diff options
author | Bart van Andel <bavanandel@gmail.com> | 2011-01-25 11:12:34 (GMT) |
---|---|---|
committer | Bart van Andel <bavanandel@gmail.com> | 2011-01-25 11:12:34 (GMT) |
commit | 07c6d25bc2477d8f91c5828eb54bddc62797152e (patch) | |
tree | 0c2ada376ef1f8f5b11b8b5696905dd021dbde36 /src/vigra-test.cpp | |
parent | 0c079e4522ea600fbc6079fd27524db1c1c22ac4 (diff) | |
download | mxe-07c6d25bc2477d8f91c5828eb54bddc62797152e.zip mxe-07c6d25bc2477d8f91c5828eb54bddc62797152e.tar.gz mxe-07c6d25bc2477d8f91c5828eb54bddc62797152e.tar.bz2 |
new package vigra
Diffstat (limited to 'src/vigra-test.cpp')
-rw-r--r-- | src/vigra-test.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/vigra-test.cpp b/src/vigra-test.cpp new file mode 100644 index 0000000..7c7c95b --- /dev/null +++ b/src/vigra-test.cpp @@ -0,0 +1,17 @@ +/* This file is part of mingw-cross-env. */ +/* See doc/index.html for further information. */ + +#include <string> +#include <iostream> +#include <vigra/imageinfo.hxx> + +using namespace vigra; + +int main(int argc, char *argv[]) +{ + std::string formats = vigra::impexListFormats(); + + std::cout << "Supported formats: " << formats << std::endl; + + return formats.length() > 0; +} |