Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 08-29-2008, 10:15 PM   #14 (permalink)
BostonMerlin
Lost in a sea of code
 
BostonMerlin's Avatar
 
Join Date: Apr 2008
Location: Boston
Posts: 399
Default

It appears i have the client side code working so my phone is posting an image off to my server running a small asp.net 2.0 webform. I'm using iphone noobs example from his tutorial here (Post a UIImage to the web | Iphone Noob).

My .net webform is setup to receive the file but is not working. i've tried different techniques to get at the file coming into the stream but none work. I'm positive it's because i dont understand the image format being pushed from the phone to the server and how to decode that format on my server.

on my server i have just a few lines of code to accept that stream...

Code:
Dim imageConverter As New System.Drawing.ImageConverter
Dim image As Image = imageConverter.ConvertFrom(Page.Request.InputStream)
image.Save("c:\images\test.png")
the response being returned back from my server to the phone is 'imageconverter cannot convert from system.web.httpinputstream.

Thoughts from those .NET gurus in the crowd?

thanks
john
__________________
----------------------------------------------------------------------
I love being a dad, flying airplanes and writing code.
----------------------------------------------------------------------
Follow me on Twitter: @BostonMerlin
Feed your brain on Twitter: @iPhoneDev101
----------------------------------------------------------------------
iPhone Apps:
BostonMerlin is offline   Reply With Quote
 

» Advertisements
» Online Users: 348
19 members and 329 guests
ADY, apatsufas, chemistry, Duncan C, fkmtc, HemiMG, MarkC, marto1914, Meoz, padsoftware, Promo Dispenser, Raffaello, sneaky, sojourner, syver, tathaastu, tgjorgoski, Thrillhouse1919, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,220
Posts: 380,716
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:48 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.