comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Reading images from a socket
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Reading images from a socket [message #35879] Thu, 24 July 2003 23:33 Go to previous message
Roberto Monaco is currently offline  Roberto Monaco
Messages: 11
Registered: August 2002
Junior Member
I am trying to use a socket to read JPEG images from the Web.

I connect to the remote server, and get to the point of sending the GET to
request the image. But at this point I can not read from this unit by using
READ_JPEG (socket is not supported).

I tried to read it first into a buffer, and then read it from the buffer
with READ_JPEG. But I have no idea how to dimension the buffer correctly
beforehand (how large the image is). Even if I make it large enough
READ_JPEG gives me error reading from the buffer (conflicting keywords).

Also, in this case I know it is a JPEG image, but in general I need to
understand the type of image I am reading into the buffer, which I do not
know (in the HTML I have only "img src=name" from where I have no idea).

Any hints?

Many thanks,
Roberto
[Message index]
 
Read Message
Read Message
Previous Topic: where is my plot....
Next Topic: Problem reading DICOM files with IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 16:05:00 PDT 2025

Total time taken to generate the page: 0.48150 seconds