summaryrefslogtreecommitdiff
path: root/im/src/im_format_all.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'im/src/im_format_all.cpp')
-rwxr-xr-xim/src/im_format_all.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/im/src/im_format_all.cpp b/im/src/im_format_all.cpp
new file mode 100755
index 0000000..c10b30a
--- /dev/null
+++ b/im/src/im_format_all.cpp
@@ -0,0 +1,34 @@
+/** \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
+ imFormatRegisterGIF();
+ imFormatRegisterBMP();
+ imFormatRegisterRAS();
+ imFormatRegisterICO();
+ imFormatRegisterPNM();
+ imFormatRegisterKRN();
+ imFormatRegisterLED();
+ imFormatRegisterSGI();
+ imFormatRegisterPCX();
+ imFormatRegisterTGA();
+}
+