1 /* 2 magick-aux.h - Part of psiconv, a PSION 5 file formats converter 3 Copyright (c) 2000-2014 Frodo Looijaard <frodo@frodo.looijaard.name> 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2 of the License, or 8 (at your option) any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program; if not, write to the Free Software 17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 18 */ 19 20 #include "config.h" 21 22 #if IMAGEMAGICK 23 24 #if IMAGEMAGICK_API == 1 25 26 #include <magick/magick.h> 27 28 #else 29 30 #include <stdio.h> 31 #include <stdlib.h> 32 #include <time.h> 33 #include <magick/api.h> 34 35 #endif /* IMAGEMAGICK_API == 1 */ 36 37 #if IMAGEMAGICK_API == 100 38 39 #define DestroyImages DestroyImageList 40 41 #endif 42 43 extern const MagickInfo ** GetMagickFileList(void); 44 45 #endif /* IMAGEMAGICK */ 46