aparsons wrote:
...
RImageData =
myReader.scan(myImage.init(imageIO.read(inFile)));
return RImageData;
I think I'm pretty close... but I keep getting the list of
methods back from the cfscript:
That is because scan() returns an array of BarCodeData
objects. You have to loop through the array of java objects and
call the desired methods to extract the data you need. If you look
at the code for 2DBarCode_j4l.cfc, that is what the author is doing
inside the readFromImage() function. He extracts the data and
converts it to CF objects for easier use. Since the CFC is already
written, have you tried adapting it to work with MX7?
BTW, you should VAR scope all function local variables to
prevent thread/scope conflicts.