How to convert image into icon in java?
<p>I want to write function that takes image in bytes and return icon in bytes. I try to search on google but i have not found any relevant information.</p>

<pre><code>private byte[] ImageToIcon(byte[] image)
{

}
</code></pre>
