take bitmap from html element