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

Home » Public Forums » archive » using IDLnetURL to get an image from a HTTP URL into IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: using IDLnetURL to get an image from a HTTP URL into IDL [message #91370 is a reply to message #91367] Mon, 06 July 2015 17:43 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Monday, July 6, 2015 at 3:19:41 PM UTC-4, Puneeth Shankar wrote:
> Hi Helder,
> Re. "IDLnetURL" as shown in the snippet above, my concern is to get an image from a remote server using a URL. I'm half way through actually. Meaning that I can now download and store an image from only such URLs; which upon opening via a browser, one can notice that it will contain only an image(no associated text/paragraphs etc).
> Here's my requirement: I'm hoping to download only images from normal URLs that contain both text and images.Let me know your thoughts on this. I appreciate your time and patience.Thanks for replying :)

IDL is not the best tool for this. "Normal URLs" as you call them, are links to full HTML pages. HTML can be very complicated and IDL cannot parse them without difficulty.

Wget is a better option because it is able to parse static HTML pages and download all of the linked images.

Wget probably will not handle something like Google Maps because map tiles are loaded dynamically within the browser using Javascript. I personally think your best bet is to run a virtual machine or virtual display, and run a browser within that virtual environment which you remotely control. It won't be easy, but can be done by an experienced developer.

You could also hire someone to make screenshots for you. :-)

CM
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Double precision data into caldat
Next Topic: lambda functions in IDL-python bridge

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

Current Time: Wed Oct 08 16:03:53 PDT 2025

Total time taken to generate the page: 0.00225 seconds