how to convert image into bytes [] in c#
<p>this will be a noob question.
I'm new to c#</p>

<p>I have a file upload server control that I am using to save images to server.</p>

<p>I have, in my library, an image resize function with this parameter:</p>

<pre><code>byte[] resizeImage(byte[] image, int witdh)
</code></pre>

<p>that i am supposed to use.
now, i am saving my file to some path as upImage.saveas("filepath");</p>

<p>ok?</p>

<p>now, I want to resize this image and i cant figure how to convert that image to bytes???</p>

<p>where is the article to convert? everywhere i see, i can only see bytes to image but i want other way around..</p>

<p>please help?</p>
