Thanks for your replies.

What I want is to handle the image without the need to save it on the
disc. I want/need to make it "on the fly".

I tried to pass the cfhttp.filecontent into a Java inputstream to
later pass to some of the ImageIO.read methods.

Do you know if there is a way to know with which Java class its
corresponds the cfhttp.filecontent?

Thanks.


On Jan 25, 9:26 am, Alan Williamson <[email protected]> wrote:
> If you look at the API for
>
> http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/ImageIO.html
>
> Then you maybe see why it doesn't work -- this wouldn't even work in Java.
>
> cfhttp.filecontent isn't of the right type to send to the read() method.
>
> As Chris recommended; use the new FileRead() commands.
>
> <cfset myImage =
> FileRead("http://www.google.co.uk/intl/en_uk/images/logo.gif";)>
>
> Save that to disk, using FileWrite() and boom, pass in the URL to
> imageio and use the java methods
>
> asantiago wrote:
> > Anybody has made something similar? Any help will be appreciate.
>
>
--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to