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 #91372 is a reply to message #91371] Tue, 07 July 2015 03:08 Go to previous messageGo to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Tuesday, July 7, 2015 at 11:49:39 AM UTC+2, Puneeth Shankar wrote:
> Thanks Mike! I'm looking to download the top right corner image,a map that is ! (refer below url) https://www.dropbox.com/s/q1ow2rh08ortoby/DM.PNG?dl=0

Looking at Michael and Craig's suggestions, you can do two things:
1) download the html and look inside for the reference to the image. All browsers allow you to have a look at the html (source). To do this in chrome simply click ctrl-u and a new page will open. In html (this might not be the case), images are tagged with "<img". Read any html tutorial for more info. Parse the html file as Michael said to locate the image and maybe you'll be lucky. It could be that the image is "hidden" in the code...

2) Craig suggested using wget. If you're on linux, that should not be a problem, but if you're on windows you can look for a wget for windows (google that and you'll find some free solutions). From idl you can use the spawn command to interact with the shell and launch wget and retrieve the images.

Good luck!
Helder
[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 11:43:32 PDT 2025

Total time taken to generate the page: 0.00517 seconds