Look for a forth coming article from me on how to use JAI with CFMX to do image manipulation as well as get renderable image properties.
Matt Liotta President & CEO Montara Software, Inc. http://www.montarasoftware.com/ V: 415-577-8070 F: 415-341-8906 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 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) | > ============================================================ > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.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