472,808 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,808 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 2264
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: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.