summaryrefslogtreecommitdiff
path: root/src/im_format_all.cpp
diff options
context:
space:
mode:
authorscuri <scuri>2008-10-17 06:10:15 +0000
committerscuri <scuri>2008-10-17 06:10:15 +0000
commit5a422aba704c375a307a902bafe658342e209906 (patch)
tree5005011e086bb863d8fb587ad3319bbec59b2447 /src/im_format_all.cpp
First commit - moving from LuaForge to SourceForge
Diffstat (limited to 'src/im_format_all.cpp')
-rw-r--r--src/im_format_all.cpp37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/im_format_all.cpp b/src/im_format_all.cpp
new file mode 100644
index 0000000..0d66bd2
--- /dev/null
+++ b/src/im_format_all.cpp
@@ -0,0 +1,37 @@
+/** \file
+ * \brief Register all the internal File Format Classes
+ *
+ * See Copyright Notice in im_lib.h
+ * $Id: im_format_all.cpp,v 1.1 2008/10/17 06:10:16 scuri Exp $
+ */
+
+
+#include <stdlib.h>
+#include <memory.h>
+#include <string.h>
+#include <assert.h>
+
+#include "im.h"
+#include "im_format.h"
+#include "im_format_all.h"
+
+void imFormatRegisterInternal(void)
+{
+ // IMPORTANT: RAW format is not registered.
+
+ // The internal formats registration
+ imFormatRegisterTIFF();
+ imFormatRegisterJPEG();
+ imFormatRegisterPNG();
+ imFormatRegisterGIF();
+ imFormatRegisterBMP();
+ imFormatRegisterRAS();
+ imFormatRegisterICO();
+ imFormatRegisterPNM();
+ imFormatRegisterKRN();
+ imFormatRegisterLED();
+ imFormatRegisterSGI();
+ imFormatRegisterPCX();
+ imFormatRegisterTGA();
+}
+