Tim Jones wrote:
The images (always jpegs) are available on a web site.
Yes, but to use them, you need to copy the (at least temporarily) to the
local system. You can then access them to determine the properties. So
in that case, they become disk files.
But there's no need for that. Open a socket, get the first few bytes
(for suitable values of "few"), and parse them to obtain the desired
information (image width and height). It seems very wasteful to involve
the disk here.
Best,
- Joe
--
Joe Strout
Inspiring Applications, Inc.
http://www.InspiringApps.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|