From 5e79604c7e76742ef47ee6503acbfcdf0db21ba1 Mon Sep 17 00:00:00 2001 From: charlie barto Date: Sat, 8 Mar 2014 20:21:50 -0500 Subject: initial commit --- tests/BasicTest.nim | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/BasicTest.nim (limited to 'tests/BasicTest.nim') diff --git a/tests/BasicTest.nim b/tests/BasicTest.nim new file mode 100644 index 0000000..6fd69ba --- /dev/null +++ b/tests/BasicTest.nim @@ -0,0 +1,10 @@ +import FreeImage + +when isMainModule: + proc main() = + var bitmap = FreeImage_Load(FIF_PNG, "OwlAlpha.png", PNG_DEFAULT) + var info = FreeImage_GetInfoHeader(bitmap) + echo repr(info) + FreeImage_Unload(bitmap) + + main() -- cgit v1.2.3