Esempio n. 1
0
        static void Main(string[] args)
        {
            // Check if FreeImage.dll is available (can be in %path%).
            if (!FreeImage.IsAvailable())
            {
                Console.WriteLine("FreeImage.dll seems to be missing. Aborting.");
                return;
            }

            Sample sample = new Sample();
            // This example shows the basic loading and saving operations offered by FreeImage.
            sample.Example01();

            // This example shows a more comfortable way offered by the .NET Wrapper.
            sample.Example02();

            // This example shows the FreeImage-Errormessage-Callback
            sample.Example03();
        }