@@ -192,22 +192,22 @@ def _get_image_properties(self) -> None:
192192 emf_marker1 = unpack ("<L" , data [:4 ])[0 ]
193193
194194 if png_marker == b"PNG" :
195- ( image_type , width , height , x_dpi , y_dpi ) = self ._process_png (data )
195+ image_type , width , height , x_dpi , y_dpi = self ._process_png (data )
196196
197197 elif jpg_marker == 0xFFD8 :
198- ( image_type , width , height , x_dpi , y_dpi ) = self ._process_jpg (data )
198+ image_type , width , height , x_dpi , y_dpi = self ._process_jpg (data )
199199
200200 elif bmp_marker == b"BM" :
201- ( image_type , width , height ) = self ._process_bmp (data )
201+ image_type , width , height = self ._process_bmp (data )
202202
203203 elif emf_marker1 == 0x9AC6CDD7 :
204- ( image_type , width , height , x_dpi , y_dpi ) = self ._process_wmf (data )
204+ image_type , width , height , x_dpi , y_dpi = self ._process_wmf (data )
205205
206206 elif emf_marker1 == 1 and emf_marker == b" EMF" :
207- ( image_type , width , height , x_dpi , y_dpi ) = self ._process_emf (data )
207+ image_type , width , height , x_dpi , y_dpi = self ._process_emf (data )
208208
209209 elif gif_marker == b"GIF8" :
210- ( image_type , width , height , x_dpi , y_dpi ) = self ._process_gif (data )
210+ image_type , width , height , x_dpi , y_dpi = self ._process_gif (data )
211211
212212 else :
213213 raise UnsupportedImageFormat (
0 commit comments