/[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 343 Revision 351
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-2005 Frodo Looijaard <frodo@frodo.looijaard.name> 3 * Copyright (c) 1999-2014 Frodo Looijaard <frodo@frodo.looijaard.name>
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.
87void image_to_list(psiconv_list list,Image *image,const char *dest) 87void image_to_list(psiconv_list list,Image *image,const char *dest)
88{ 88{
89 ImageInfo *image_info; 89 ImageInfo *image_info;
90 ExceptionInfo exc; 90 ExceptionInfo exc;
91 size_t length; 91 size_t length;
92 char *data; 92 unsigned char *data;
93 int i; 93 int i;
94 94
95 strcpy(image->magick,dest); 95 strcpy(image->magick,dest);
96 image_info = CloneImageInfo(NULL); 96 image_info = CloneImageInfo(NULL);
97 GetExceptionInfo(&exc); 97 GetExceptionInfo(&exc);

Legend:
Removed from v.343  
changed lines
  Added in v.351

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