view src/vigra-test.cpp @ 3726:1166dbbbe15c

build_packages.m: add helper function to install packages * build_packages.m: add helper function to catch errors when installing packages.
author John Donoghue
date Tue, 28 Oct 2014 07:57:11 -0400
parents 14b3f5ea78ae
children
line wrap: on
line source

/*
 * This file is part of MXE.
 * See 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;
}