Matt, if possible, could you talk about java code inline within a CFM page? I think that's what a lot of people are interested in...if possible of course. Also, one thing that I've been really wondering about using Java event handlers in a cfm template. Is it possible? I haven't gotten the chance to try yet...but a lot of Java classes use events to let the program know when a method is finished. I believe ImageReader is one of those classes though.
Thanks a lot. I'm really looking forward to the article. -- Jon mailto:[EMAIL PROTECTED] Thursday, July 18, 2002, 11:54:45 AM, you wrote: ML> Look for a forth coming article from me on how to use JAI with CFMX to ML> do image manipulation as well as get renderable image properties. ML> Matt Liotta ML> President & CEO ML> Montara Software, Inc. ML> http://www.montarasoftware.com/ ML> V: 415-577-8070 ML> F: 415-341-8906 ML> P: [EMAIL PROTECTED] >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >> Sent: Thursday, July 18, 2002 7:35 AM >> To: CF-Talk >> Subject: Idea Incubator - javax.imageio.ImageReader >> >> 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 ML> javax.imageio.ImageReader >> >> I downloaded 'j2sdk1.4.0_01' and installed it on my machine and ML> pointed >> cfmx to the jre directory. Restarted the server for the CFMX to see ML> 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 ML> methods >> though so, I'm stumbling around again. I'm guessing that I need to ML> get at >> java.io.File to read the file first and then pass it into the ML> imageReader >> via an inputStream or something. >> >> I'm sure there's people on this list that are more fluent in java than ML> 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) | >> ============================================================ >> >> ML> ______________________________________________________________________ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists