473,325 Members | 2,860 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

how to resize an upload image and then change to binary & insert t

joe
how to resize an upload image and then change to binary & insert to db
Jul 26 '06 #1
4 2325
ASP.NET Image Manipulation Examples: Adding, Zooming, Enlarging

http://www.codeproject.com/aspnet/ASPImaging1.asp

Writing BLOB Values to a Database

http://msdn.microsoft.com/library/de...todatabase.asp

"joe" <jo*@discussions.microsoft.comwrote in message
news:38**********************************@microsof t.com...
how to resize an upload image and then change to binary & insert to db

Jul 26 '06 #2
joe
i upload the image and then change to bitmap so as to resize the image
Bitmap = GetThumbnailImage(m_x, m_y, New
System.Drawing.Image.GetThumbnailImageAbort(Addres sOf ThumbCallback),
IntPtr.Zero)

how to transfer a bitmap into binary

"Ken Cox [Microsoft MVP]" wrote:
ASP.NET Image Manipulation Examples: Adding, Zooming, Enlarging

http://www.codeproject.com/aspnet/ASPImaging1.asp

Writing BLOB Values to a Database

http://msdn.microsoft.com/library/de...todatabase.asp

"joe" <jo*@discussions.microsoft.comwrote in message
news:38**********************************@microsof t.com...
how to resize an upload image and then change to binary & insert to db


Jul 26 '06 #3
Isn't a bitmap binary already?

"joe" <jo*@discussions.microsoft.comwrote in message
news:F2**********************************@microsof t.com...
>i upload the image and then change to bitmap so as to resize the image
Bitmap = GetThumbnailImage(m_x, m_y, New
System.Drawing.Image.GetThumbnailImageAbort(Addres sOf ThumbCallback),
IntPtr.Zero)

how to transfer a bitmap into binary

"Ken Cox [Microsoft MVP]" wrote:
>ASP.NET Image Manipulation Examples: Adding, Zooming, Enlarging

http://www.codeproject.com/aspnet/ASPImaging1.asp

Writing BLOB Values to a Database

http://msdn.microsoft.com/library/de...todatabase.asp

"joe" <jo*@discussions.microsoft.comwrote in message
news:38**********************************@microso ft.com...
how to resize an upload image and then change to binary & insert to db



Jul 26 '06 #4
joe
sorry is Byte
Bitmap to Byte
since it can't ctype(m_bitmap, Byte) right,
help thanks

"Ken Cox [Microsoft MVP]" wrote:
Isn't a bitmap binary already?

"joe" <jo*@discussions.microsoft.comwrote in message
news:F2**********************************@microsof t.com...
i upload the image and then change to bitmap so as to resize the image
Bitmap = GetThumbnailImage(m_x, m_y, New
System.Drawing.Image.GetThumbnailImageAbort(Addres sOf ThumbCallback),
IntPtr.Zero)

how to transfer a bitmap into binary

"Ken Cox [Microsoft MVP]" wrote:
ASP.NET Image Manipulation Examples: Adding, Zooming, Enlarging

http://www.codeproject.com/aspnet/ASPImaging1.asp

Writing BLOB Values to a Database

http://msdn.microsoft.com/library/de...todatabase.asp

"joe" <jo*@discussions.microsoft.comwrote in message
news:38**********************************@microsof t.com...
how to resize an upload image and then change to binary & insert to db


Jul 27 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a...
9
by: Don | last post by:
Does anyone know where I can find a client-side function I can reference from within an HTML/JavaScript web page? I'm currently using a core PHP function to do this, but I'd rather do it on the...
1
by: John Thompson | last post by:
We're sooo close. When we load the page to upload the image, all of the prms go through except the binary image data. Using SQL server with the data type set to "image". Please help! Thanks-...
15
by: David Lozzi | last post by:
Howdy, I have a function that uploads an image and that works great. I love ..Nets built in upload, so much easier than 3rd party uploaders! Now I am making a public function that will take the...
4
by: Jim Michaels | last post by:
after a file upload, $_FILES is not populated but $_POST is. what's going on here? $_POST=C $_POST=C $_POST=C $_POST=C:\\www\\jimm\\images\\bg1.jpg $_FILES= $_FILES= $_FILES=
9
by: Steve Poe | last post by:
I work for an animal hospital trying to use PHP to store an animal's dental x-rays to a file server. I can browse for the xray on the local desktop computer then click "Upload Image". This...
18
jhardman
by: jhardman | last post by:
Have you ever wanted to upload files through a form and thought, "I'd really like to use ASP, it surely has that capability, but the tutorial I used to learn ASP didn't mention how to do this."? ...
7
by: mishrarajesh44 | last post by:
hii all Truly telling i hav got this code from net & i am finding error while running the code below.. code:- <?php $idir = "photo/"; // Path To Images Directory $tdir =...
3
by: pozze | last post by:
Hi, I've just made the change from ASP to .net. I have a file (code below) that saves a user submitted file to a MS SQL 2005 database. It collects the file name, file size, file type, and lastly...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.