You can load an image into a BufferedImage (the Java class that
undoubtedly backs the image.cfc you mentioned) from an arbitrary URL.
Not sure the exact syntax, but a glimpse inside image.cfc and a
browser with javadocs should get you started.

cheers,
barneyb

On Tue, 14 Sep 2004 15:43:50 -0400, Rick Root <[EMAIL PROTECTED]> wrote:
> So, I've seen the image cfc that allows you to determine image size
> (among other things), but those images have to be local files.
>
> Is there anyway to retrieve an image via a URL and determine it's size
> WITHOUT reading the file in from the local file system?   I would just
> like to avoid a bunch of file IO, but I want to restrict the size, so
> that when people enter a remote URL to an image, it can't be any bigger
> than 100x100...
>
> Trying to avoid file I/O.
>
>  - Rick
>
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to