Ok, I brought this up awhile ago. Basically finding a way to replace
CFX_Image whatever. I'm closer to the answer now, but ... my half ass
knowledge in java is in the way.
With the standard CFMX JRE you can't get to the javax.imageio.ImageReader
I downloaded 'j2sdk1.4.0_01' and installed it on my machine and pointed
cfmx to the jre directory. Restarted the server for the CFMX to see the
new jre. Didn't work at first, so I rebooted the machine and ... it
works.
---------
<cfscript>
reader = createObject("java","javax.imageio.ImageReader");
</cfscript>
<cfdump var="#reader#">
---------
The dump gives me a nice big bright red answer. None of these are methods
though so, I'm stumbling around again. I'm guessing that I need to get at
java.io.File to read the file first and then pass it into the imageReader
via an inputStream or something.
I'm sure there's people on this list that are more fluent in java than I
and was wondering if any of you guys could point me in the right
direction.
--
============================================================
Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ |
Team Macromedia Volunteer for ColdFusion |
http://www.macromedia.com/support/forums/team_macromedia/ |
http://www.flashCFM.com/ - webRat (Moderator) |
http://www.ultrashock.com/ - webRat (Back-end Moderator) |
============================================================
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists