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]
- Determining the size of a remote image Rick Root
- Re: Determining the size of a remote ima... Massimo Foti
- Re: Determining the size of a remote ... Massimo, Tiziana e Federica
- Re: Determining the size of a remote ... Rick Root
- Re: Determining the size of a rem... Massimo, Tiziana e Federica
- Re: Determining the size of a remote imag... Howie Hamlin
- Re: Determining the size of a remote imag... Barney Boisvert
- Re: Determining the size of a remote ... Rick Root
- Re: Determining the size of a rem... Doug Hughes