دنبال کننده ها

۱۳۹۶ مرداد ۱۲, پنجشنبه

java - Parse image Height and width

[ad_1]



I have to parse Image Height and Width from HTML file using java. How can i do this task.you can see that images are set based on x y coordinates.



<html>
<head>
<title>map</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- Save for Web Slices (map.png) -->
<table id="Table_01" width="4415" height="3306" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="http://stackoverflow.com/images/00_00.png" width="1104" height="827" alt=""></td>
<td>
<img src="images/00_01.png" width="1104" height="827" alt=""></td>
<td>
<img src="images/map_03.png" width="1104" height="827" alt=""></td>
<td>
<img src="images/map_04.png" width="1103" height="827" alt=""></td>
</tr>
<tr>
<td>
<img src="images/map_05.png" width="1104" height="826" alt=""></td>
<td>
<img src="images/map_06.png" width="1104" height="826" alt=""></td>
<td>
<img src="images/map_07.png" width="1104" height="826" alt=""></td>
<td>
<img src="images/map_08.png" width="1103" height="826" alt=""></td>
</tr>

</table>
<!-- End Save for Web Slices -->
</body>
</html>


If any solution please help me as soon as possible.




[ad_2]

لینک منبع