X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftags%2Fsynfig_0_61_04%2Fsynfig-core%2Fsrc%2Fmodules%2Fmod_imagemagick%2Fmain.cpp;fp=synfig-core%2Ftags%2Fsynfig_0_61_04%2Fsynfig-core%2Fsrc%2Fmodules%2Fmod_imagemagick%2Fmain.cpp;h=12ea9b1997bb40485be8142f5438c32e7e6e4b0c;hb=f64373f72487d6aa502d9bde985b8a2d5519f099;hp=0000000000000000000000000000000000000000;hpb=ad81c2528eb79c7500e65fd15a9f66375f75d121;p=synfig.git diff --git a/synfig-core/tags/synfig_0_61_04/synfig-core/src/modules/mod_imagemagick/main.cpp b/synfig-core/tags/synfig_0_61_04/synfig-core/src/modules/mod_imagemagick/main.cpp new file mode 100644 index 0000000..12ea9b1 --- /dev/null +++ b/synfig-core/tags/synfig_0_61_04/synfig-core/src/modules/mod_imagemagick/main.cpp @@ -0,0 +1,100 @@ +/*! ======================================================================== +** Synfig +** bleh +** $Id: main.cpp,v 1.1.1.1 2005/01/04 01:23:11 darco Exp $ +** +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. +** +** This package is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +** General Public License for more details. +** +** === N O T E S =========================================================== +** +** ========================================================================= */ + +/* === H E A D E R S ======================================================= */ + +#define SYNFIG_MODULE + +#ifdef USING_PCH +# include "pch.h" +#else +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include "mptr_imagemagick.h" +#include "trgt_imagemagick.h" +#endif + +/* === E N T R Y P O I N T ================================================= */ + +MODULE_DESC_BEGIN(mod_imagemagick) + MODULE_NAME("ImageMagick Module") + MODULE_DESCRIPTION("Provides targets and importers for nearly every format that ImageMagick supports") + MODULE_AUTHOR("Robert B. Quattlebaum") + MODULE_VERSION("1.0") + MODULE_COPYRIGHT(SYNFIG_COPYRIGHT) +MODULE_DESC_END + +MODULE_INVENTORY_BEGIN(mod_imagemagick) + BEGIN_TARGETS + TARGET(imagemagick_trgt) + TARGET_EXT(imagemagick_trgt,"jpg") + TARGET_EXT(imagemagick_trgt,"jpeg") + TARGET_EXT(imagemagick_trgt,"png") + TARGET_EXT(imagemagick_trgt,"tga") + TARGET_EXT(imagemagick_trgt,"tif") + TARGET_EXT(imagemagick_trgt,"tiff") + TARGET_EXT(imagemagick_trgt,"pcx") + TARGET_EXT(imagemagick_trgt,"ps") + TARGET_EXT(imagemagick_trgt,"pdf") + TARGET_EXT(imagemagick_trgt,"pgm") + TARGET_EXT(imagemagick_trgt,"psd") + TARGET_EXT(imagemagick_trgt,"xcf") + TARGET_EXT(imagemagick_trgt,"svg") + TARGET_EXT(imagemagick_trgt,"xpm") + TARGET_EXT(imagemagick_trgt,"miff") + TARGET_EXT(imagemagick_trgt,"eps") + TARGET_EXT(imagemagick_trgt,"cmyk") + TARGET_EXT(imagemagick_trgt,"gif") + END_TARGETS + BEGIN_IMPORTERS + IMPORTER_EXT(imagemagick_mptr,"jpg") + IMPORTER_EXT(imagemagick_mptr,"jpeg") + IMPORTER_EXT(imagemagick_mptr,"png") + IMPORTER_EXT(imagemagick_mptr,"bmp") + IMPORTER_EXT(imagemagick_mptr,"gif") + IMPORTER_EXT(imagemagick_mptr,"pcx") + IMPORTER_EXT(imagemagick_mptr,"tif") + IMPORTER_EXT(imagemagick_mptr,"tiff") + IMPORTER_EXT(imagemagick_mptr,"tga") + IMPORTER_EXT(imagemagick_mptr,"ps") + IMPORTER_EXT(imagemagick_mptr,"pdf") + IMPORTER_EXT(imagemagick_mptr,"pgm") + IMPORTER_EXT(imagemagick_mptr,"psd") + IMPORTER_EXT(imagemagick_mptr,"xcf") + IMPORTER_EXT(imagemagick_mptr,"svg") + IMPORTER_EXT(imagemagick_mptr,"tim") + IMPORTER_EXT(imagemagick_mptr,"xpm") + IMPORTER_EXT(imagemagick_mptr,"miff") + IMPORTER_EXT(imagemagick_mptr,"ico") + IMPORTER_EXT(imagemagick_mptr,"eps") + IMPORTER_EXT(imagemagick_mptr,"ttf") + IMPORTER_EXT(imagemagick_mptr,"pix") + IMPORTER_EXT(imagemagick_mptr,"rla") + IMPORTER_EXT(imagemagick_mptr,"mat") + IMPORTER_EXT(imagemagick_mptr,"html") + IMPORTER_EXT(imagemagick_mptr,"ept") + IMPORTER_EXT(imagemagick_mptr,"dcm") + IMPORTER_EXT(imagemagick_mptr,"fig") + END_IMPORTERS +MODULE_INVENTORY_END