Last post Oct 28, 2009 05:44 AM by shift register
Oct 26, 2009 08:06 PM|shift register|LINK
Hi I m getting an image from my database using getBytes() method and with the following code I m showing it. But the problem is I want to resize my image if I need it. I want to put a button and read from database in a standart format.I want to do that because
when larger images used and I right click and say print I got more than one pages. I hope I could explain it. Any help will be appreciate
MemoryStream s = new MemoryStream();
Response.ContentType = @"image/jpeg";
image from database
Oct 27, 2009 12:55 AM|stanly|LINK
Hey If you want to resize it, do it during uploading the image itself... it will be better....
Oct 27, 2009 08:51 PM|shift register|LINK
I want to keep the original image, I just need a smaller one for printing. But I couldn't see anyway for images read from database as streams
Oct 28, 2009 01:39 AM|stanly|LINK
by this you can show image from sql...
Oct 28, 2009 05:44 AM|shift register|LINK
Showing image is not the problem. I can read it from db and show it on my page. The problem is can I resize my picture?