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
using IDLnetURL to get an image from a HTTP URL into IDL [message #91365] Mon, 06 July 2015 01:01 Go to previous message
Puneeth Shankar is currently offline  Puneeth Shankar
Messages: 21
Registered: June 2015
Junior Member
I was hoping for some help on ways to get an image(say a screen shot of google maps) from a URL and save it onto the hard disk.
Currently I'm able to :
1)Save the entire http code of a URL to disk(if I want to)
2)Save an image from "URls' that straightly lead to images" for ex: ( http://d335hnnegk3szv.cloudfront.net/wp-content/uploads/site s/501/2014/11/Balloons21.jpg )
Note: Using the below snippet will give you an idea of what i have achieved so far:

Url = ' http://chart.apis.google.com/chart?chs=200x100&cht=p& ;chd=t:10,20,30'
ourl = obj_new('IDLnetURL')
png = ourl->get(filename='E:\temp\gchart.png', url=url)
obj_destroy, ourl
im = read_png('gchart.png')
window, xsize=200, ysize=100
tv, im, true=1
[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 09:18:32 PDT 2025

Total time taken to generate the page: 0.00439 seconds