Hi group,

I have a peace of code which request for an image. What I want is to
process the cfhttp.filecontent using Java.
I'm trying to use the ImageIO java class, something like:

<cfscript>
    imageio = CreateObject("java", "javax.imageio.ImageIO");

    bufimage = imageio.read(cfhttp.filecontent);
</cfscript>

but I get an error. The 'read' method accepts different kind of
objects and I must 'cast' the filecontent to some of them.
I have look at JavaCast function but it only works for simple types.

Anybody has made something similar? Any help will be appreciate.

Thanks in advice.
--~--~---------~--~----~------------~-------~--~----~
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