… | |
… | |
16 | * along with this program; if not, write to the Free Software |
16 | * along with this program; if not, write to the Free Software |
17 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
18 | */ |
18 | */ |
19 | |
19 | |
20 | #include "config.h" |
20 | #include "config.h" |
21 | #include "data.h" |
21 | #include "psiconv/data.h" |
22 | #include "gen.h" |
22 | #include "gen.h" |
23 | #include <string.h> |
23 | #include <string.h> |
24 | #include "psiconv.h" |
24 | #include "psiconv.h" |
25 | |
25 | |
26 | #if IMAGEMAGICK |
26 | #if IMAGEMAGICK |
… | |
… | |
197 | return 0; |
197 | return 0; |
198 | } |
198 | } |
199 | |
199 | |
200 | void init_image(void) |
200 | void init_image(void) |
201 | { |
201 | { |
202 | struct psiconv_fileformat ff; |
202 | struct psiconv_fileformat_s ff; |
203 | #if IMAGEMAGICK |
203 | #if IMAGEMAGICK |
204 | MagickInfo *mi; |
204 | MagickInfo *mi; |
205 | ff.output = psiconv_gen_image; |
205 | ff.output = psiconv_gen_image; |
206 | for (mi = GetMagickFileList(); mi ; mi = mi->next) { |
206 | for (mi = GetMagickFileList(); mi ; mi = mi->next) { |
207 | if (mi->encoder) { |
207 | if (mi->encoder) { |