C
Chris D
I'm doing some work with submitting graphics via ASP.net page to SQL 2000
server using VB.
I know how to get a graphic into the database from a filefield control. I
also know how to pull it out of the database and thumbnail it on the fly.
Creating thumbnail on the fly seems extremely inefficient to me as this has
to be done every time the image is requested. What I want to do is get the
image from the filefield control, thumbnail it and save the thumbnail to the
database along with the full size image. That way the thumbnail process is
only ran once and I'm not to concerned about the extra storage space.
What I cant figure out is how to get the image from the
postedfile.imputstream.read to a system.drawing.image to generate the
thumbnail and then send the thumbnail to the database again.
I'm new to .net so any help is greatly appreciated
Thanks
Chris D
server using VB.
I know how to get a graphic into the database from a filefield control. I
also know how to pull it out of the database and thumbnail it on the fly.
Creating thumbnail on the fly seems extremely inefficient to me as this has
to be done every time the image is requested. What I want to do is get the
image from the filefield control, thumbnail it and save the thumbnail to the
database along with the full size image. That way the thumbnail process is
only ran once and I'm not to concerned about the extra storage space.
What I cant figure out is how to get the image from the
postedfile.imputstream.read to a system.drawing.image to generate the
thumbnail and then send the thumbnail to the database again.
I'm new to .net so any help is greatly appreciated
Thanks
Chris D