… | |
… | |
54 | ((psiconv_list_length(f->sections)) > 1 && ! (mi->adjoin))) |
54 | ((psiconv_list_length(f->sections)) > 1 && ! (mi->adjoin))) |
55 | #endif |
55 | #endif |
56 | return -1; |
56 | return -1; |
57 | #if IMAGEMAGICK |
57 | #if IMAGEMAGICK |
58 | for (i = 0; i < psiconv_list_length(f->sections); i++) { |
58 | for (i = 0; i < psiconv_list_length(f->sections); i++) { |
59 | section = psiconv_list_get(f->sections,0); |
59 | section = psiconv_list_get(f->sections,i); |
60 | this_image = get_paint_data_section(section); |
60 | this_image = get_paint_data_section(section); |
61 | if (! image) { |
61 | if (! image) { |
62 | image = image; |
62 | image = this_image; |
63 | last_image = image; |
63 | last_image = image; |
64 | } else { |
64 | } else { |
65 | last_image->next=this_image; |
65 | last_image->next=this_image; |
66 | this_image->previous=last_image; |
66 | this_image->previous=last_image; |
|
|
67 | this_image->scene=i; |
|
|
68 | last_image=this_image; |
67 | } |
69 | } |
68 | } |
70 | } |
69 | |
71 | |
70 | GetImageInfo(&image_info); |
72 | GetImageInfo(&image_info); |
71 | image_info.file = of; |
73 | image_info.file = of; |
72 | strcpy(image->magick, dest); |
74 | strcpy(image->magick, dest); |
|
|
75 | image_info.adjoin=1; |
73 | WriteImage(&image_info,image); |
76 | WriteImage(&image_info,image); |
74 | return 0; |
77 | return 0; |
75 | #endif |
78 | #endif |
76 | } |
79 | } |
77 | |
80 | |