1. 程式人生 > >java庫Html2Image:實現html轉圖片功能

java庫Html2Image:實現html轉圖片功能

        String htmlstr = ”<table width=’654’ cellpadding=’0’ cellspacing=’0’ bordercolor=’#FFFFFF’><tr><td><img src=’http://www.apkfather.com/yhqserver/images/mdl.jpg’/></td><td><img src=’http://www.apkfather.com/yhqserver/images/mdl.jpg’/></td><td><img src=’http://www.apkfather.com/yhqserver/images/mdl.jpg’/></td></tr><tr><td><img src=’http://www.apkfather.com/yhqserver/images/mdl.jpg’/></td><td><img src=’http://www.apkfather.com/yhqserver/images/mdl.jpg’/></td><td><img src=’http://www.apkfather.com/yhqserver/images/mdl.jpg’/></td></tr><tr><td><img src=’http://www.apkfather.com/yhqserver/images/mdl.jpg’/></td><td><img src=’http://www.apkfather.com/yhqserver/images/mdl.jpg’/></td><td><img src=’http://www.apkfather.com/yhqserver/images/mdl.jpg’/></td></tr><tr><td><img src=’http://www.apkfather.com/yhqserver/images/mdl.jpg’/></td></tr></table>”
;