W
willis
Hi, guys
I have spent the whole week to look for how to upload image from pocket
pc to web server, but still couldn't find a solution. Can anyone please
help?
My situation is
I download a GIF file from web server and display in a picturebox on a
I-mate ppc(This part is done), then the user will add some signs or
draw the notes or icons in the image, finally I would like to upload
this image back to web server (doesn't matter by HTTP, SOCKET, FTP,web
services, DIME, as long as it can work)
My idea is
the GIF file size is 512 x 512, when I tried to save the picturebox
image as a physical bitmap file in the ppc(using the MS Save Bitmap
example,http://www.microsoft.com/downloads/...82-D87D-43C6-A984-8C625387B198&displaylang=en),
it takes more then 3 minutes to finish, and the size is about 1.6MB.
So, I'm thinking maybe I could directly send the Bitmap
object(picturebox.image) to the web server, instead of saving as a
local file.
I tried to upload the Bitmap object to web server? I couldn't find a
way to serizalize it to a stream or byte array.
Then I tried to use the DIME and WSE2 to send the image as a DIME
attachment, but don't know how to do it.
Please correct me if I'm not in the right track, or please give me any
idea how to upload the Bitmap object to the server.
Thanks a lot!
Willis
I have spent the whole week to look for how to upload image from pocket
pc to web server, but still couldn't find a solution. Can anyone please
help?
My situation is
I download a GIF file from web server and display in a picturebox on a
I-mate ppc(This part is done), then the user will add some signs or
draw the notes or icons in the image, finally I would like to upload
this image back to web server (doesn't matter by HTTP, SOCKET, FTP,web
services, DIME, as long as it can work)
My idea is
the GIF file size is 512 x 512, when I tried to save the picturebox
image as a physical bitmap file in the ppc(using the MS Save Bitmap
example,http://www.microsoft.com/downloads/...82-D87D-43C6-A984-8C625387B198&displaylang=en),
it takes more then 3 minutes to finish, and the size is about 1.6MB.
So, I'm thinking maybe I could directly send the Bitmap
object(picturebox.image) to the web server, instead of saving as a
local file.
I tried to upload the Bitmap object to web server? I couldn't find a
way to serizalize it to a stream or byte array.
Then I tried to use the DIME and WSE2 to send the image as a DIME
attachment, but don't know how to do it.
Please correct me if I'm not in the right track, or please give me any
idea how to upload the Bitmap object to the server.
Thanks a lot!
Willis