1 ;---------------------------------------------------------------------
\r
2 convert_plugin_invoke:
\r
3 mov eax,[plugin_0_name]
\r
6 call [Convert_plugin_0.Start]
\r
8 ;-------------------------------
\r
9 mov eax,[plugin_1_name]
\r
10 call prepare_convert
\r
12 call [Convert_plugin_1.Start]
\r
14 ;-------------------------------
\r
15 mov eax,[plugin_2_name]
\r
16 call prepare_convert
\r
18 call [Convert_plugin_2.Start]
\r
20 ;-------------------------------
\r
21 mov eax,[plugin_3_name]
\r
22 call prepare_convert
\r
24 call [Convert_plugin_3.Start]
\r
26 ;-------------------------------
\r
27 mov eax,[plugin_4_name]
\r
28 call prepare_convert
\r
30 call [Convert_plugin_4.Start]
\r
32 ;-------------------------------
\r
33 mov eax,[plugin_5_name]
\r
34 call prepare_convert
\r
36 call [Convert_plugin_5.Start]
\r
38 ;-------------------------------
\r
39 mov eax,[plugin_6_name]
\r
40 call prepare_convert
\r
42 call [Convert_plugin_6.Start]
\r
44 ;-------------------------------
\r
45 mov eax,[plugin_7_name]
\r
46 call prepare_convert
\r
48 call [Convert_plugin_7.Start]
\r
50 ;-------------------------------
\r
51 mov eax,[plugin_8_name]
\r
52 call prepare_convert
\r
54 call [Convert_plugin_8.Start]
\r
55 mov eax,[return_code]
\r
57 ;-------------------------------
\r
58 mov eax,[plugin_9_name]
\r
59 call prepare_convert
\r
61 call [Convert_plugin_9.Start]
\r
62 ;-------------------------------
\r
64 mov ecx,[image_file]
\r
67 ;---------------------------------------------------------------------
\r
69 cmp eax,dword 'NoKe'
\r
72 mov [return_code],eax
\r
77 jmp convert_plugin_invoke.end
\r
78 ;---------------------------------------------------------------------
\r
80 mov eax,[return_code]
\r
82 jz prepare_convert.1
\r
84 je prepare_convert.1
\r
86 ;---------------------------------------------------------------------
\r
92 call convert_plugin_invoke
\r
94 cmp [return_code],dword 0
\r
97 ;-------------------------------
\r
100 mov [img_width],eax
\r
101 mov [img_width_2],eax
\r
103 mov [img_high_2],eax
\r
104 mov [img_resolution],eax
\r
105 mov [img_resolution_2],eax
\r
106 mov [img_palette],eax
\r
108 mov [file_name],eax
\r
109 mov [Total_Repeat_N],eax
\r
110 mov [RAW1_pointer],eax
\r
113 mov [scaling_mode],dword 100
\r
116 ;-------------------------------
\r
119 mov [return_code],eax
\r
121 ;-------------------------------
\r
123 mov ebx,[raw_pointer]
\r
124 cmp [ebx],dword 'RAW1'
\r
128 mov [RAW1_pointer],eax
\r
130 mov [Total_Repeat_N],eax
\r
132 mov [img_width],eax
\r
133 mov [img_width_2],eax
\r
136 mov [img_high_2],eax
\r
138 mov [img_resolution_2],eax
\r
141 ; mov [img_palette],eax
\r
145 ;-------------------------------
\r
147 ; mov [raw_pointer_2],eax
\r
148 ; mov eax,image_file
\r
149 ; call [plugin_convert]
\r
150 push dword image_file
\r
151 call [convert_Start]
\r
153 mov ebx,[raw_pointer]
\r
155 ; cmp [ebx+18],word 2
\r
163 mov [img_resolution],eax
\r
167 mov [img_palette],eax
\r
173 ; mov eax,[raw_pointer_2]
\r
179 ;-------------------------------
\r
180 ; mov eax,[img_resolution]
\r
183 ; cmp [ebx+18],word 2
\r
185 ; cmp [ebx+18],word 1
\r
186 ; jne .img_resolution_ok
\r
189 ; jne .img_resolution_ok
\r
191 ; mov [img_resolution],eax
\r
192 ; jmp .img_resolution_ok
\r
199 ; mov [img_resolution],eax
\r
201 .img_resolution_ok:
\r
203 mov [scroll_bar_data_vertical.position],eax
\r
204 mov [scroll_bar_data_horizontal.position],eax
\r
205 call get_window_param
\r
206 test [window_status],1b
\r
208 cmp [scaling_mode],dword 100
\r
211 mov eax,[img_width]
\r
221 mov [wnd_width],eax
\r
226 mov [skin_height],eax
\r
232 mov [wnd_height],ebx
\r
242 cmp eax,[wnd_height]
\r
245 mov ax,[scroll_bar_data_vertical.size_x]
\r
246 add [wnd_width],eax
\r
248 cmp ebx,[wnd_width]
\r
251 mov ax,[scroll_bar_data_horizontal.size_y]
\r
252 add [wnd_height],eax
\r
254 mov eax,[wnd_width]
\r
255 mov ebx,[wnd_height]
\r
265 ;---------------------------------------------------------------------