ae6e16a1583ea79ef5d2e26c71cb1dedec22ea3a
[synfig.git] /
1 /* === S Y N F I G ========================================================= */
2 /*!     \file mod_imagemagick/main.cpp
3 **      \brief Template Header
4 **
5 **      $Id$
6 **
7 **      \legal
8 **      Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
9 **
10 **      This package is free software; you can redistribute it and/or
11 **      modify it under the terms of the GNU General Public License as
12 **      published by the Free Software Foundation; either version 2 of
13 **      the License, or (at your option) any later version.
14 **
15 **      This package is distributed in the hope that it will be useful,
16 **      but WITHOUT ANY WARRANTY; without even the implied warranty of
17 **      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 **      General Public License for more details.
19 **      \endlegal
20 **
21 ** === N O T E S ===========================================================
22 **
23 ** ========================================================================= */
24
25 /* === H E A D E R S ======================================================= */
26
27 #define SYNFIG_MODULE
28
29 #ifdef USING_PCH
30 #       include "pch.h"
31 #else
32 #ifdef HAVE_CONFIG_H
33 #       include <config.h>
34 #endif
35
36 #include <synfig/module.h>
37 #include "mptr_imagemagick.h"
38 #include "trgt_imagemagick.h"
39 #endif
40
41 /* === E N T R Y P O I N T ================================================= */
42
43 MODULE_DESC_BEGIN(mod_imagemagick)
44         MODULE_NAME("ImageMagick Module")
45         MODULE_DESCRIPTION("Provides targets and importers for nearly every format that ImageMagick supports")
46         MODULE_AUTHOR("Robert B. Quattlebaum")
47         MODULE_VERSION("1.0")
48         MODULE_COPYRIGHT(SYNFIG_COPYRIGHT)
49 MODULE_DESC_END
50
51 MODULE_INVENTORY_BEGIN(mod_imagemagick)
52         BEGIN_TARGETS
53                 TARGET(imagemagick_trgt)
54                 TARGET_EXT(imagemagick_trgt,"jpg")
55                 TARGET_EXT(imagemagick_trgt,"jpeg")
56                 TARGET_EXT(imagemagick_trgt,"png")
57                 TARGET_EXT(imagemagick_trgt,"tga")
58                 TARGET_EXT(imagemagick_trgt,"tif")
59                 TARGET_EXT(imagemagick_trgt,"tiff")
60                 TARGET_EXT(imagemagick_trgt,"pcx")
61                 TARGET_EXT(imagemagick_trgt,"ps")
62                 TARGET_EXT(imagemagick_trgt,"pdf")
63                 TARGET_EXT(imagemagick_trgt,"pgm")
64                 TARGET_EXT(imagemagick_trgt,"psd")
65                 TARGET_EXT(imagemagick_trgt,"xcf")
66                 TARGET_EXT(imagemagick_trgt,"svg")
67                 TARGET_EXT(imagemagick_trgt,"xpm")
68                 TARGET_EXT(imagemagick_trgt,"miff")
69                 TARGET_EXT(imagemagick_trgt,"eps")
70                 TARGET_EXT(imagemagick_trgt,"cmyk")
71                 TARGET_EXT(imagemagick_trgt,"gif")
72         END_TARGETS
73         BEGIN_IMPORTERS
74                 IMPORTER_EXT(imagemagick_mptr,"jpg")
75                 IMPORTER_EXT(imagemagick_mptr,"jpeg")
76                 IMPORTER_EXT(imagemagick_mptr,"png")
77                 IMPORTER_EXT(imagemagick_mptr,"bmp")
78                 IMPORTER_EXT(imagemagick_mptr,"gif")
79                 IMPORTER_EXT(imagemagick_mptr,"pcx")
80                 IMPORTER_EXT(imagemagick_mptr,"tif")
81                 IMPORTER_EXT(imagemagick_mptr,"tiff")
82                 IMPORTER_EXT(imagemagick_mptr,"tga")
83                 IMPORTER_EXT(imagemagick_mptr,"ps")
84                 IMPORTER_EXT(imagemagick_mptr,"pdf")
85                 IMPORTER_EXT(imagemagick_mptr,"pgm")
86                 IMPORTER_EXT(imagemagick_mptr,"psd")
87                 IMPORTER_EXT(imagemagick_mptr,"xcf")
88                 IMPORTER_EXT(imagemagick_mptr,"svg")
89                 IMPORTER_EXT(imagemagick_mptr,"tim")
90                 IMPORTER_EXT(imagemagick_mptr,"xpm")
91                 IMPORTER_EXT(imagemagick_mptr,"miff")
92                 IMPORTER_EXT(imagemagick_mptr,"ico")
93                 IMPORTER_EXT(imagemagick_mptr,"eps")
94                 IMPORTER_EXT(imagemagick_mptr,"ttf")
95                 IMPORTER_EXT(imagemagick_mptr,"pix")
96                 IMPORTER_EXT(imagemagick_mptr,"rla")
97                 IMPORTER_EXT(imagemagick_mptr,"mat")
98                 IMPORTER_EXT(imagemagick_mptr,"html")
99                 IMPORTER_EXT(imagemagick_mptr,"ept")
100                 IMPORTER_EXT(imagemagick_mptr,"dcm")
101                 IMPORTER_EXT(imagemagick_mptr,"fig")
102         END_IMPORTERS
103 MODULE_INVENTORY_END