view src/vigra-test.cpp @ 5953:00a24f9b9cae

hg-octave-dist.mk: Use tools and libraries consistently. Don't mix tools and libraries from build system with MXE. See also https://octave.discourse.group/t/1795
author Markus Mützel <markus.muetzel@gmx.de>
date Wed, 17 Nov 2021 10:46:45 +0100
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;
}