/[public]/psiconv/trunk/program/psiconv/magick-aux.h
ViewVC logotype

Contents of /psiconv/trunk/program/psiconv/magick-aux.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 343 - (show annotations)
Mon Oct 20 11:44:17 2014 UTC (5 years, 11 months ago) by frodo
File MIME type: text/plain
File size: 1225 byte(s)
(Frodo) Support for GraphicsMagick library
  * Add IMAGEMAGICK_API 100 for GraphicsMagick and supporting code
  * Rewrite GetMagickFileList to return a null-terminated array of pointers
    (instead of using prev/next)

1 /*
2 magick-aux.h - Part of psiconv, a PSION 5 file formats converter
3 Copyright (c) 2000-2004 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 */

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26