Beispiel #1
0
        public void TestGetSuffixes()
        {
            Skip.IfNot(NetVips.AtLeastLibvips(8, 8), "requires libvips >= 8.8");

            var suffixes = NetVips.GetSuffixes();

            // vips supports these file types by default
            // (without being dependent on external dependencies):
            // - Native file format (`*.v`, `*.vips`).
            // - PPM images (`*.ppm`, `*.pgm`, `*.pbm`, `*.pfm`).
            // - Analyze images (`*.hdr`).
            Assert.True(suffixes.Length >= 7);
        }