/[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 44 Revision 48
23#include <string.h> 23#include <string.h>
24#include "psiconv.h" 24#include "psiconv.h"
25 25
26#if IMAGEMAGICK 26#if IMAGEMAGICK
27#include <magick/magick.h> 27#include <magick/magick.h>
28#endif
29 28
30/* This is ridiculously simple using ImageMagick. Without it, it would 29/* This is ridiculously simple using ImageMagick. Without it, it would
31 be quite somewhat harder - it will be left for later on */ 30 be quite somewhat harder - it will be left for later on */
32 31
33static Image *get_paint_data_section(psiconv_paint_data_section sec) 32static Image *get_paint_data_section(psiconv_paint_data_section sec)
36 image = CreateImage(sec->xsize,sec->ysize,sec->red,sec->green, 35 image = CreateImage(sec->xsize,sec->ysize,sec->red,sec->green,
37 sec->blue,NULL); 36 sec->blue,NULL);
38 return image; 37 return image;
39} 38}
40 39
40#endif
41 41
42static int psiconv_gen_image_clipart(FILE *of, psiconv_clipart_f f, 42static int psiconv_gen_image_clipart(FILE *of, psiconv_clipart_f f,
43 const char *dest) 43 const char *dest)
44{ 44{
45#if IMAGEMAGICK 45#if IMAGEMAGICK

Legend:
Removed from v.44  
changed lines
  Added in v.48

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