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

Annotation of /psiconv/trunk/program/psiconv/magick-aux.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 58 - (hide annotations)
Sun Dec 10 16:49:40 2000 UTC (23 years, 4 months ago) by frodo
File MIME type: text/plain
File size: 1442 byte(s)
(Frodo) Revamped directory structure, rescues a few files from CVS limbo

1 frodo 58 /*
2     magick-aux.c - Part of psiconv, a PSION 5 file formats converter
3     Copyright (c) 2000 Frodo Looijaard <frodol@dds.nl>
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     #include "magick-aux.h"
25     #include <magick/magick.h>
26     #include <magick/config.h>
27    
28     /* This is so ugly, but it is the only way to make ImageMagick 5 behave
29     * properly. It really needs a better interface.
30     * OpenModules makes sure all needed modules are loaded. But it may not
31     * be called until some things are initialized, hence the extra
32     * GetMagickInfo call. Ugh.
33     */
34    
35     extern void OpenModules(void);
36    
37     MagickInfo * GetMagickFileList(void)
38     {
39     GetMagickInfo(NULL);
40     #if defined(HasLTDL)
41     OpenModules();
42     #endif
43     return GetMagickInfo(NULL);
44     }
45    
46     #endif /* IMAGEMAGICK */

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