New topic: How to download an image/binary file in memory
<http://forums.realsoftware.com/viewtopic.php?t=34403> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message basil.bourque Post subject: How to download an image/binary file in memoryPosted: Fri Jun 25, 2010 5:01 pm Joined: Thu Apr 15, 2010 10:41 pm Posts: 37 Location: Seattle-area I want to download an image file from a web server. I want to put it onscreen. Using a Canvas would be the way, from what I know so far. My problem is that reading the doc on HTTPSocket suggests it is text oriented. The "get" command returns text. So as a workaround, now I am working on code to download the image to a temporary file, then open that file as an image. Is there a way to skip writing the temporary file? Can I download the image file contents directly to memory? _________________ --Basil Bourque (Using REAL Studio 2010 release 2.1 with REAL Server 2009r1.2 on Mac OS X 10.6.2 & .3) Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
