[BLACKBOX] Internet Files

From: [at]} <Chris>
Date: Sat, 13 Apr 2013 13:25:13 +0930

----boundary-LibPST-iamunique-1114827153_-_-
Content-type: text/plain

Robert Campbell asked me to forward this message to the BlackBox mailing
list for him:

-------------------------------
If I type the address "http://a.tile.openstreetmap.org/17/64377/40836.png"
into a web browser I get to see a 256 * 256 pixel bitmap (which happens to
be a map of my house which I added myself this Christmas, but that is all
irrelevant).

How would I write a BlackBox program to fetch this tile, and either turn it
into an internal BlackBox bitmap, or save it directly as a .png file.

I do use the FreeImage subsystem, so can handle bitmaps and .png files
within BlackBox, but I have no idea how to start on the internet stuff.

Maybe the answer is in the Comm SubSystem, which I have used (a long time
ago) to communicate PC to PC over ethernet and over the USB?

Regards

Robert
-------------------------------


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1114827153_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGZiaWRpcyBcZGVmZjB7XGZvbnR0YmwN
CntcZjBcZnN3aXNzIEFyaWFsO30NCntcZjFcZm1vZGVybiBDb3VyaWVyIE5ldzt9DQp7XGYyXGZu
aWxcZmNoYXJzZXQyIFN5bWJvbDt9DQp7XGYzXGZtb2Rlcm5cZmNoYXJzZXQwIENvdXJpZXIgTmV3
O319DQp7XGNvbG9ydGJsXHJlZDBcZ3JlZW4wXGJsdWUwO1xyZWQwXGdyZWVuMFxibHVlMjU1O30N
Clx1YzFccGFyZFxwbGFpblxkZWZ0YWIzNjAgXGYwXGZzMjAgUm9iZXJ0IENhbXBiZWxsIGFza2Vk
IG1lIHRvIGZvcndhcmQgdGhpcyBtZXNzYWdlIHRvIHRoZSBCbGFja0JveCBtYWlsaW5nXHBhcg0K
bGlzdCBmb3IgaGltOlxwYXINClxwYXINCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tL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LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLVxwYXINClxwYXINClxwYXINCi0tLS1ccGFyDQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1l
c3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNUUy5PQkVS
T04uQ0h9fQAA1J0U
----boundary-LibPST-iamunique-1114827153_-_---
BEGIN:VCARD
FN:(null)
N:;;;;
VERSION: 3.0
END:VCARD
Received on Sat Apr 13 2013 - 05:55:13 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:54 UTC