/[public]/psiconv/trunk/program/psiconv/gen_image.c
ViewVC logotype

Diff of /psiconv/trunk/program/psiconv/gen_image.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 193 Revision 249
1/* 1/*
2 * gen_image.c - Part of psiconv, a PSION 5 file formats converter 2 * gen_image.c - Part of psiconv, a PSION 5 file formats converter
3 * Copyright (c) 1999 Frodo Looijaard <frodol@dds.nl> 3 * Copyright (c) 1999-2004 Frodo Looijaard <frodol@dds.nl>
4 * 4 *
5 * This program is free software; you can redistribute it and/or modify 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 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 7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version. 8 * (at your option) any later version.
31 31
32#ifdef DMALLOC 32#ifdef DMALLOC
33#include "dmalloc.h" 33#include "dmalloc.h"
34#endif 34#endif
35 35
36#ifdef IMAGEMAGICK
36static Image *get_paint_data_section(psiconv_paint_data_section sec); 37static Image *get_paint_data_section(psiconv_paint_data_section sec);
37static void image_to_list(psiconv_list list,Image *image,const char *dest); 38static void image_to_list(psiconv_list list,Image *image,const char *dest);
38static void gen_image_list(const psiconv_config config,psiconv_list list, 39static void gen_image_list(const psiconv_config config,psiconv_list list,
39 const psiconv_list sections, const char *dest); 40 const psiconv_list sections, const char *dest);
40static void gen_clipart(const psiconv_config config,psiconv_list list, 41static void gen_clipart(const psiconv_config config,psiconv_list list,
227 } else 228 } else
228 return -1; 229 return -1;
229 return 0; 230 return 0;
230} 231}
231 232
233#endif
234
232void init_image(void) 235void init_image(void)
233{ 236{
234 struct fileformat_s ff; 237 struct fileformat_s ff;
235#if IMAGEMAGICK 238#if IMAGEMAGICK
236 const MagickInfo *mi; 239 const MagickInfo *mi;

Legend:
Removed from v.193  
changed lines
  Added in v.249

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