diff options
Diffstat (limited to 'src/im_format_all.cpp')
-rw-r--r-- | src/im_format_all.cpp | 37 |
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(); +} + |