From 5a422aba704c375a307a902bafe658342e209906 Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 17 Oct 2008 06:10:15 +0000 Subject: First commit - moving from LuaForge to SourceForge --- src/im_format_all.cpp | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/im_format_all.cpp (limited to 'src/im_format_all.cpp') 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 +#include +#include +#include + +#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(); +} + -- cgit v1.2.3