marked stable
[synfig.git] / synfig-core / tags / stable / src / modules / mod_imagemagick / main.cpp
1 /*! ========================================================================
2 ** Sinfg
3 ** bleh
4 ** $Id: main.cpp,v 1.1.1.1 2005/01/04 01:23:11 darco Exp $
5 **
6 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
7 **
8 ** This software and associated documentation
9 ** are CONFIDENTIAL and PROPRIETARY property of
10 ** the above-mentioned copyright holder.
11 **
12 ** You may not copy, print, publish, or in any
13 ** other way distribute this software without
14 ** a prior written agreement with
15 ** the copyright holder.
16 **
17 ** === N O T E S ===========================================================
18 **
19 ** ========================================================================= */
20
21 /* === H E A D E R S ======================================================= */
22
23 #define SINFG_MODULE
24
25 #ifdef USING_PCH
26 #       include "pch.h"
27 #else
28 #ifdef HAVE_CONFIG_H
29 #       include <config.h>
30 #endif
31
32 #include <sinfg/module.h>
33 #include "mptr_imagemagick.h"
34 #include "trgt_imagemagick.h"
35 #endif
36
37 /* === E N T R Y P O I N T ================================================= */
38
39 MODULE_DESC_BEGIN(mod_imagemagick)
40         MODULE_NAME("ImageMagick Module")
41         MODULE_DESCRIPTION("Provides targets and importers for nearly every format that ImageMagick supports")
42         MODULE_AUTHOR("Robert B. Quattlebaum")
43         MODULE_VERSION("1.0")
44         MODULE_COPYRIGHT(SINFG_COPYRIGHT)
45 MODULE_DESC_END
46
47 MODULE_INVENTORY_BEGIN(mod_imagemagick)
48         BEGIN_TARGETS
49                 TARGET(imagemagick_trgt)
50                 TARGET_EXT(imagemagick_trgt,"jpg")
51                 TARGET_EXT(imagemagick_trgt,"jpeg")
52                 TARGET_EXT(imagemagick_trgt,"png")
53                 TARGET_EXT(imagemagick_trgt,"tga")
54                 TARGET_EXT(imagemagick_trgt,"tif")
55                 TARGET_EXT(imagemagick_trgt,"tiff")
56                 TARGET_EXT(imagemagick_trgt,"pcx")
57                 TARGET_EXT(imagemagick_trgt,"ps")
58                 TARGET_EXT(imagemagick_trgt,"pdf")
59                 TARGET_EXT(imagemagick_trgt,"pgm")
60                 TARGET_EXT(imagemagick_trgt,"psd")
61                 TARGET_EXT(imagemagick_trgt,"xcf")
62                 TARGET_EXT(imagemagick_trgt,"svg")
63                 TARGET_EXT(imagemagick_trgt,"xpm")
64                 TARGET_EXT(imagemagick_trgt,"miff")
65                 TARGET_EXT(imagemagick_trgt,"eps")
66                 TARGET_EXT(imagemagick_trgt,"cmyk")
67                 TARGET_EXT(imagemagick_trgt,"gif")
68         END_TARGETS
69         BEGIN_IMPORTERS
70                 IMPORTER_EXT(imagemagick_mptr,"jpg")
71                 IMPORTER_EXT(imagemagick_mptr,"jpeg")
72                 IMPORTER_EXT(imagemagick_mptr,"png")
73                 IMPORTER_EXT(imagemagick_mptr,"bmp")
74                 IMPORTER_EXT(imagemagick_mptr,"gif")
75                 IMPORTER_EXT(imagemagick_mptr,"pcx")
76                 IMPORTER_EXT(imagemagick_mptr,"tif")
77                 IMPORTER_EXT(imagemagick_mptr,"tiff")
78                 IMPORTER_EXT(imagemagick_mptr,"tga")
79                 IMPORTER_EXT(imagemagick_mptr,"ps")
80                 IMPORTER_EXT(imagemagick_mptr,"pdf")
81                 IMPORTER_EXT(imagemagick_mptr,"pgm")
82                 IMPORTER_EXT(imagemagick_mptr,"psd")
83                 IMPORTER_EXT(imagemagick_mptr,"xcf")
84                 IMPORTER_EXT(imagemagick_mptr,"svg")
85                 IMPORTER_EXT(imagemagick_mptr,"tim")
86                 IMPORTER_EXT(imagemagick_mptr,"xpm")
87                 IMPORTER_EXT(imagemagick_mptr,"miff")
88                 IMPORTER_EXT(imagemagick_mptr,"ico")
89                 IMPORTER_EXT(imagemagick_mptr,"eps")
90                 IMPORTER_EXT(imagemagick_mptr,"ttf")
91                 IMPORTER_EXT(imagemagick_mptr,"pix")
92                 IMPORTER_EXT(imagemagick_mptr,"rla")
93                 IMPORTER_EXT(imagemagick_mptr,"mat")
94                 IMPORTER_EXT(imagemagick_mptr,"html")
95                 IMPORTER_EXT(imagemagick_mptr,"ept")
96                 IMPORTER_EXT(imagemagick_mptr,"dcm")
97                 IMPORTER_EXT(imagemagick_mptr,"fig")
98         END_IMPORTERS
99 MODULE_INVENTORY_END