view src/vigra-test.cpp @ 6213:5f64fb928091 release

build-gcc: Avoid library clash when calling msgfmt. * src/build-gcc-1-msgfmt.patch: Don't use libraries from the build tree when calling `msgfmt`. * dist-files.mk: Add patch to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 06 May 2022 19:36:10 +0200
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;
}